SynEdit: deprecate ecGotFocus / ecLostFocus. They have no functionality.

This commit is contained in:
Martin 2025-01-26 15:09:24 +01:00
parent 97ea7c51a4
commit fce631b4f7
2 changed files with 3 additions and 5 deletions

View File

@ -298,8 +298,8 @@ const
ecBlockIndentMove = 651; // Indent selection (indent before column-sel, therefore moving the column-sel)
ecBlockUnindentMove = 652; // Unindent selection (indent before column-sel, therefore moving the column-sel)
ecGotFocus = 700;
ecLostFocus = 701;
ecGotFocus = 700 deprecated 'Not used / To be removed in Lazarus 5.99';
ecLostFocus = 701 deprecated 'Not used / To be removed in Lazarus 5.99';
ecUserDefinedFirst = 900;
ecUserDefinedLast = 999;

View File

@ -509,8 +509,7 @@ begin
ecTab:
Accept;
ecDeleteChar,
ecRight, ecSelRight, ecColSelRight,
ecLostFocus, ecGotFocus:
ecRight, ecSelRight, ecColSelRight:
; {processed on AfterProcessing}
else
Cancel;
@ -518,7 +517,6 @@ begin
end
else { AfterProcessing }
case Command of
ecLostFocus, ecGotFocus,
ecDeleteChar:
;
ecDeleteLastChar,