SynEdit: Fixed Selection became persistent after drag operation. introduced in rev 21163 #742c44e3d0

git-svn-id: trunk@21165 -
This commit is contained in:
martin 2009-08-10 20:37:36 +00:00
parent f4fe7d4be2
commit 56790bc2d2

View File

@ -2665,9 +2665,9 @@ begin
fScrollTimer.Enabled := (fScrollDeltaX <> 0) or (fScrollDeltaY <> 0);
if (sfMouseSelecting in fStateFlags) and ((fScrollDeltaX <> 0) or (fScrollDeltaY <> 0)) then
Include(fStateFlags, sfMouseDoneSelecting);
if sfIsDragging in fStateFlags then
FBlockSelection.DecPersistentLock;
end;
if sfIsDragging in fStateFlags then
FBlockSelection.DecPersistentLock;
end
else
if MouseCapture and (not(sfIsDragging in fStateFlags))