[Lazarus] Improvement: Lazarus editor (synedit)

Fabio Luis Girardi fluisgirardi at gmail.com
Thu Jul 7 19:16:01 CEST 2016


2016-07-07 11:21 GMT-03:00 Martin Frb <lazarus at mfriebe.de>:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160707/2ad5e0da/attachment.html>


More information about the Lazarus mailing list