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:
martin 2010-12-16 22:52:18 +00:00
parent ab62cfd0d1
commit 7f2ff17b32

View File

@ -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;