mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 03:57:34 +01:00
SynEdit: let the highlighter work directly on the TextBuffer
git-svn-id: trunk@25756 -
This commit is contained in:
parent
6c496f0876
commit
89608fa994
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user