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. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
