mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-02 08:20:39 +01:00
SynEdit: Fixed a crash in SyncroEdit. If previous syncro was aborted, while new selection existed and overlapped with syncro-area, and then new selection was reduced in size
git-svn-id: trunk@28733 -
This commit is contained in:
parent
ab62cfd0d1
commit
7f2ff17b32
@ -1006,6 +1006,10 @@ begin
|
||||
AreaMarkupEnabled := True;
|
||||
SetUndoStart;
|
||||
|
||||
// Reset them, since Selectionchanges are not tracked during spseEditing
|
||||
FLastSelStart := Point(-1,-1);
|
||||
FLastSelEnd := Point(-1,-1);
|
||||
|
||||
Pos := SelectionObj.FirstLineBytePos;
|
||||
EndPos := SelectionObj.LastLineBytePos;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user