SynEdit: let the highlighter work directly on the TextBuffer

git-svn-id: trunk@25756 -
This commit is contained in:
martin 2010-05-30 01:12:58 +00:00
parent 6c496f0876
commit 89608fa994

View File

@ -4627,7 +4627,7 @@ begin
Topline := TopLine;
exit;
end;
FHighlighter.CurrentLines := FTheLinesView;
FHighlighter.CurrentLines := FLines; // Trailing spaces are not needed
FHighlighter.ScanRanges;
fMarkupManager.TextChanged(FChangedLinesStart, FChangedLinesEnd);