コード例 #1
0
 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;
 }
コード例 #2
0
 public TextMarker(int offset, int length, ICSharpCode.TextEditor.Document.TextMarkerType textMarkerType) : this(offset, length, textMarkerType, System.Drawing.Color.Red)
 {
 }