
How do one avoid parsing of entire document when one just inserts or updates a line via code below
ITextChange change = document.CreateTextChange(TextChangeTypes.Replace, textChangeOption);
change.ReplaceText(EditorView.Selection.TextRange, newText);
var result = change.Apply();
This calls ParseCore for entire snapshot which is time consuming in case one has a big text file loaded