public override void Start(string input) { privates = RegexUtilities.GetMatchesIndexes(input, @"private \w+ \w+"); this.input = input; // Get preview. Preview = input.Highlight(privates, p => p, p => p + "private ".Length, "red"); }
public override void Start(string input) { privates = RegexUtilities.GetMatchesIndexes(input, @"private \w+ \w+"); this.input = input; // Get preview. Preview = input.Highlight(privates, p => p, p => p + "private ".Length, "red"); }