2016-07-07 11:21 GMT-03:00 Martin Frb <[email protected]>: > 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. > > Should I to install some package on Lazarus to get this?
-- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
