public CodeActionWidget(CodeActionEditorExtension ext, MonoDevelop.Ide.Gui.Document document) { // this.ext = ext; this.document = document; Events = Gdk.EventMask.AllEventsMask; icon = ImageService.GetPixbuf("md-text-quickfix", Gtk.IconSize.Menu); SetSizeRequest(Math.Max((int)document.Editor.LineHeight, icon.Width) + 4, (int)document.Editor.LineHeight + 4); document.Editor.Parent.EditorOptionsChanged += HandleDocumentEditorParentEditorOptionsChanged; }
public CodeActionWidget (CodeActionEditorExtension ext, MonoDevelop.Ide.Gui.Document document) { // this.ext = ext; this.document = document; Events = Gdk.EventMask.AllEventsMask; icon = ImageService.GetPixbuf ("md-text-quickfix", Gtk.IconSize.Menu); SetSizeRequest (Math.Max ((int)document.Editor.LineHeight , icon.Width) + 4, (int)document.Editor.LineHeight + 4); document.Editor.Parent.EditorOptionsChanged += HandleDocumentEditorParentEditorOptionsChanged; }
public SmartTagMarker (int offset, CodeActionEditorExtension codeActionEditorExtension, List<CodeAction> fixes, DocumentLocation loc) : base (offset, 0) { this.codeActionEditorExtension = codeActionEditorExtension; this.fixes = fixes; this.loc = loc; }
public SmartTagMarker(int offset, CodeActionEditorExtension codeActionEditorExtension, List <CodeAction> fixes, DocumentLocation loc) : base(offset, 0) { this.codeActionEditorExtension = codeActionEditorExtension; this.fixes = fixes; this.loc = loc; }