[Lazarus] Improvement: Lazarus editor (synedit)
Martin Frb
lazarus at mfriebe.de
Thu Jul 7 16:21:01 CEST 2016
On 07/07/2016 13:36, Fabio Luis Girardi wrote:
>
> Is much harder to change this to, when press ( do (my selection),
> instead of erase and replace my selection by ( ?
>
http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Macros
http://wiki.lazarus.freepascal.org/Editor_Macros_PascalScript
Assign the below macro to the ( key/keycombo
begin
if caller.SelAvail then begin
caller.SelText := '('+caller.SelText+')';
end
else
ecChar('(');
end.
More information about the Lazarus
mailing list