public TextMarker(int offset, int length, ICSharpCode.TextEditor.Document.TextMarkerType textMarkerType, System.Drawing.Color color) { if (length < 1) { length = 1; } this.offset = offset; this.length = length; this.textMarkerType = textMarkerType; this.color = color; }
public TextMarker(int offset, int length, ICSharpCode.TextEditor.Document.TextMarkerType textMarkerType) : this(offset, length, textMarkerType, System.Drawing.Color.Red) { }