SynEdit: fix: multi caret, allow espape (remove all carets) to be shared with other plugins / make "escape" default

git-svn-id: trunk@58217 -
This commit is contained in:
martin 2018-06-10 19:54:18 +00:00
parent d684662c07
commit a3e61cf56e

View File

@ -1876,6 +1876,8 @@ begin
if not FinishComboOnly then
FKeyStrokes.ResetKeyCombo;
Command := FKeyStrokes.FindKeycodeEx(Code, SState, Data, IsStartOfCombo, FinishComboOnly, ComboKeyStrokes);
if (Command = ecPluginMultiCaretClearAll) and (FCarets.Count = 0) then
Command := ecNone;
Handled := (Command <> ecNone) or IsStartOfCombo;
end;