mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-23 18:01:36 +02:00
SynEdit: Fix (2) for Highlighter Slowdown (introduced in rev 24477 #9a3a4acd60)
git-svn-id: trunk@24486 -
This commit is contained in:
parent
b1bd56d202
commit
01bc1ec9e9
@ -1212,8 +1212,9 @@ var
|
||||
i: Integer;
|
||||
begin
|
||||
(PString(Mem + Index * FAttributeSize))^ := AValue;
|
||||
for i := 0 to length(FRangeList) - 1 do
|
||||
FRangeList[i].Data.LineTextChanged(Index);
|
||||
if FRangeListLock = 0 then
|
||||
for i := 0 to length(FRangeList) - 1 do
|
||||
FRangeList[i].Data.LineTextChanged(Index);
|
||||
end;
|
||||
|
||||
function TSynEditStringMemory.ItemSize: Integer;
|
||||
|
Loading…
Reference in New Issue
Block a user