[Lazarus] how I can use the component TSynEditAutoComplete

Reinier Napoles Martinez rnapoles at hlg.uci.cu
Sat Jan 7 00:28:29 CET 2012


Hi ,how I can  use  the component TSynEditAutoComplete. 
I'm looking the sourceeditor.pp.
I want to do something like this:
arrayd and when ,I pressed ctrl+j

insert for example:
array[0|..1] of Type;

 and when press tab,  move the cursor to the next param 
array[0..1|] of Type; //Tab
array[0..1] of Type|;

like the Lazarus Code editor.

for now the result I get is this:
   array[$param(0)..$param(1)] of $param(Type); |



Thanks for your attention.

sorry for my english.



-- 
*********************************************************************
En la tierra hace falta personas que trabajen más y critiquen menos,
que construyan más y destruyan menos, que prometan menos y
resuelvan más que esperen recibir menos y dar más que digan mejor
ahora que mañana.
                                                 Che
*********************************************************************




More information about the Lazarus mailing list