Пример #1
0
 public TabTextWord(HighlightColor color)
 {
     length     = 1;
     base.color = color;
 }
Пример #2
0
        // TAB
        public TextWord(IDocument document, LineSegment line, int offset, int length, HighlightColor color, bool hasDefaultColor)
        {
            Trace.Assert(document != null);
            Trace.Assert(line != null);
            Trace.Assert(color != null);

            this.document        = document;
            this.line            = line;
            this.offset          = offset;
            this.length          = length;
            this.color           = color;
            this.hasDefaultColor = hasDefaultColor;
        }