void OnQuickFixCommand() { if (widget == null || !widget.Visible) { return; } widget.PopupQuickFixMenu(); }
void OnQuickFixCommand() { if (!QuickTaskStrip.EnableFancyFeatures) { var w = new CodeActionWidget(this, Document); w.SetFixes(RefactoringService.GetValidActions(Document, Document.Editor.Caret.Location).Result, Document.Editor.Caret.Location); w.PopupQuickFixMenu(); w.Destroy(); return; } if (currentSmartTag == null) { return; } currentSmartTag.Popup(); }
void OnQuickFixCommand () { if (!QuickTaskStrip.EnableFancyFeatures) { var w = new CodeActionWidget (this, Document); w.SetFixes (RefactoringService.GetValidActions (Document, Document.Editor.Caret.Location).Result, Document.Editor.Caret.Location); w.PopupQuickFixMenu (); w.Destroy (); return; } if (widget == null || !widget.Visible) return; widget.PopupQuickFixMenu (); }