mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-27 21:49:17 +02:00
synedit: fix wrong reporting about line changes. First change after save was reported as saved.
git-svn-id: trunk@17635 -
This commit is contained in:
parent
475ca7cb36
commit
901310d366
@ -1289,8 +1289,12 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
Start := fUnModifiedItem + 1;
|
Start := fUnModifiedItem;
|
||||||
Stop := fItems.Count - 1;
|
Stop := fItems.Count - 1;
|
||||||
|
if Stop < 0 then
|
||||||
|
Exit;
|
||||||
|
if Start < 0 then
|
||||||
|
Start := 0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
for I := Start to Stop do
|
for I := Start to Stop do
|
||||||
|
Loading…
Reference in New Issue
Block a user