mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 11:59:26 +02:00
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:
parent
d684662c07
commit
a3e61cf56e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user