public CurrentDebugLineTextMarker (MonoTextEditor editor, int offset, int length) { IconMarker = new DebugIconMarker (currentLine); TextMarker = new DebugTextMarker (offset, length, e => e.ColorStyle.DebuggerCurrentLineMarker, e => e.ColorStyle.DebuggerCurrentLine); }
public InvalidBreakpointTextMarker (MonoTextEditor editor, int offset, int length, bool isTracepoint) { IconMarker = new DebugIconMarker (isTracepoint ? tracepoint : breakpoint); TextMarker = new DebugTextMarker (offset, length, e => e.ColorStyle.BreakpointMarkerInvalid); }
public DebugStackLineTextMarker (MonoTextEditor editor, int offset, int length) { IconMarker = new DebugIconMarker (stackLine); TextMarker = new DebugTextMarker (offset, length, e => e.ColorStyle.DebuggerStackLineMarker, e => e.ColorStyle.DebuggerStackLine); }
public InvalidBreakpointTextMarker(MonoTextEditor editor, int offset, int length, bool isTracepoint) { IconMarker = new DebugIconMarker(isTracepoint ? tracepoint : breakpoint); TextMarker = new DebugTextMarker(offset, length, e => SyntaxHighlightingService.GetColor(e.EditorTheme, EditorThemeColors.BreakpointMarkerInvalid)); }
public CurrentDebugLineTextMarker(MonoTextEditor editor, int offset, int length) { IconMarker = new DebugIconMarker(currentLine); TextMarker = new DebugTextMarker(offset, length, e => SyntaxHighlightingService.GetColor(e.EditorTheme, EditorThemeColors.DebuggerCurrentLineMarker), e => SyntaxHighlightingService.GetChunkStyle(e.EditorTheme, EditorThemeColors.DebuggerCurrentLine)); }
public CurrentDebugLineTextMarker(MonoTextEditor editor, int offset, int length) { IconMarker = new DebugIconMarker(currentLine); TextMarker = new DebugTextMarker(offset, length, e => e.ColorStyle.DebuggerCurrentLineMarker, e => e.ColorStyle.DebuggerCurrentLine); }
public DebugStackLineTextMarker(MonoTextEditor editor, int offset, int length) { IconMarker = new DebugIconMarker(stackLine); TextMarker = new DebugTextMarker(offset, length, e => e.ColorStyle.DebuggerStackLineMarker, e => e.ColorStyle.DebuggerStackLine); }
public InvalidBreakpointTextMarker(MonoTextEditor editor, int offset, int length, bool isTracepoint) { IconMarker = new DebugIconMarker(isTracepoint ? tracepoint : breakpoint); TextMarker = new DebugTextMarker(offset, length, e => e.ColorStyle.BreakpointMarkerInvalid); }
void OnIconMarginMouseLeave (object sender, EventArgs e) { if (hoverDebugLineMarker != null) { Document.RemoveMarker (hoverDebugLineMarker); hoverDebugLineMarker = null; } }
void OnIconMarginMouseMoved (object sender, MarginMouseEventArgs e) { if (hoverDebugLineMarker != null) { if (hoverDebugLineMarker.LineSegment.LineNumber != e.LineSegment.LineNumber) { e.Editor.Document.RemoveMarker (hoverDebugLineMarker); hoverDebugLineMarker = null; } } if (hoverDebugLineMarker == null && e.LineSegment != null && e.LineSegment.Markers.FirstOrDefault (m => m is DebugIconMarker) == null) { hoverDebugLineMarker = new DebugIconMarker (hoverBreakpointIcon) { Tooltip = GettextCatalog.GetString ("Insert Breakpoint") }; e.Editor.Document.AddMarker (e.LineSegment.LineNumber, hoverDebugLineMarker); } }