Skip to content

Commit

Permalink
fix firing OnCaret after drag-drop
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Jun 24, 2020
1 parent 810ccfa commit f8d513d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atsynedit/atsynedit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -6246,7 +6246,6 @@ procedure TATSynEdit.DoDropText(AndDeleteSelection: boolean);
if not bSel then Exit;

DoSelect_None;
DoEventCarets;

//calc insert-pos
P:= ScreenToClient(Mouse.CursorPos);
Expand Down Expand Up @@ -6285,6 +6284,7 @@ procedure TATSynEdit.DoDropText(AndDeleteSelection: boolean);
end;

Update(true);
DoEventCarets;
DoEventChange;
end;

Expand Down

0 comments on commit f8d513d

Please sign in to comment.