mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 16:00:28 +02:00
SynEdit: speed up large operations (search replace)
git-svn-id: trunk@43762 -
This commit is contained in:
parent
c5bd5091ff
commit
a586b848df
@ -792,7 +792,9 @@ procedure TSynEditCaret.DoLinesEdited(Sender: TSynEditStrings; aLinePos, aBytePo
|
||||
var
|
||||
p: TPoint;
|
||||
begin
|
||||
if FAutoMoveOnEdit > 0 then begin
|
||||
if (FAutoMoveOnEdit > 0) and
|
||||
( (aLineBrkCnt <> 0) or (aLinePos = FLinePos) )
|
||||
then begin
|
||||
IncForcePastEOL;
|
||||
ValidateBytePos;
|
||||
p := AdjustPoint(Point(FBytePos, FLinePos));
|
||||
|
Loading…
Reference in New Issue
Block a user