Ejemplo n.º 1
0
 public OffsetColorizer(int offset = 0, int length = 0, HLKind hlk = HLKind.ID)
 {
     this.offset = offset;
     this.length = length;
     this.hlk    = hlk;
 }
Ejemplo n.º 2
0
 public static void Colorize(int offset, int length, HLKind hlk)
 {
     textEditor.TextArea.TextView.LineTransformers.Add(new OffsetColorizer(offset, length, hlk));
 }