mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 19:52:26 +02:00
SynEdit: ScanRanges, make sure all line-change notifications have been send before scanning and markup.
(cherry picked from commit a13c86d979
)
This commit is contained in:
parent
d8fc020d66
commit
0686369b97
@ -2616,6 +2616,7 @@ begin
|
||||
FTrimmedLinesView.UnLock; // Must be unlocked after caret // May Change lines
|
||||
|
||||
if (FPaintLock=1) and (not WaitingForInitialSize) then begin
|
||||
FLines.FlushNotificationCache;
|
||||
ScanChangedLines(FChangedLinesStart, FChangedLinesEnd, FChangedLinesDiff,
|
||||
FLastTextChangeStamp <> TSynEditStringList(FLines).TextChangeStamp);
|
||||
if sfAfterLoadFromFileNeeded in fStateFlags then
|
||||
|
Loading…
Reference in New Issue
Block a user