mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 06:40:56 +02:00
SynEdit: deprecate ecGotFocus / ecLostFocus. They have no functionality.
This commit is contained in:
parent
97ea7c51a4
commit
fce631b4f7
@ -298,8 +298,8 @@ const
|
|||||||
ecBlockIndentMove = 651; // Indent selection (indent before column-sel, therefore moving the column-sel)
|
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)
|
ecBlockUnindentMove = 652; // Unindent selection (indent before column-sel, therefore moving the column-sel)
|
||||||
|
|
||||||
ecGotFocus = 700;
|
ecGotFocus = 700 deprecated 'Not used / To be removed in Lazarus 5.99';
|
||||||
ecLostFocus = 701;
|
ecLostFocus = 701 deprecated 'Not used / To be removed in Lazarus 5.99';
|
||||||
|
|
||||||
ecUserDefinedFirst = 900;
|
ecUserDefinedFirst = 900;
|
||||||
ecUserDefinedLast = 999;
|
ecUserDefinedLast = 999;
|
||||||
|
@ -509,8 +509,7 @@ begin
|
|||||||
ecTab:
|
ecTab:
|
||||||
Accept;
|
Accept;
|
||||||
ecDeleteChar,
|
ecDeleteChar,
|
||||||
ecRight, ecSelRight, ecColSelRight,
|
ecRight, ecSelRight, ecColSelRight:
|
||||||
ecLostFocus, ecGotFocus:
|
|
||||||
; {processed on AfterProcessing}
|
; {processed on AfterProcessing}
|
||||||
else
|
else
|
||||||
Cancel;
|
Cancel;
|
||||||
@ -518,7 +517,6 @@ begin
|
|||||||
end
|
end
|
||||||
else { AfterProcessing }
|
else { AfterProcessing }
|
||||||
case Command of
|
case Command of
|
||||||
ecLostFocus, ecGotFocus,
|
|
||||||
ecDeleteChar:
|
ecDeleteChar:
|
||||||
;
|
;
|
||||||
ecDeleteLastChar,
|
ecDeleteLastChar,
|
||||||
|
Loading…
Reference in New Issue
Block a user