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