mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 01:57:16 +01:00
SynEdit: missing HL initialization. Issue #40999
This commit is contained in:
parent
686f08a68e
commit
ccda6ea381
@ -738,6 +738,7 @@ begin
|
||||
if not (SynEdit.Highlighter is TSynCustomFoldHighlighter) then
|
||||
exit;
|
||||
hl := TSynCustomFoldHighlighter(SynEdit.Highlighter);
|
||||
hl.CurrentLines := ViewedTextBuffer;
|
||||
if hl.NeedScan then
|
||||
exit;
|
||||
if not FMarkupInfoCurrentFold.IsEnabled then begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user