CnPack Forum

#1 Suggestion for input helper feature
Suggestion :

Use RegEx to check the current line and next line to decide whether to insert a template.

IE : when I press enter, and the line reads <symbol> := <symbol>.Create<anything>; and the next does NOT read TRY, insert :
Try
|
Finally
<first symbol>.Free;
End;

You can use RegEx expressions for this.

Also, another example, if I type IF and then space, and then hit space and nothing else is on the line, you could insert
(|) Then
Begin
End;

So a regex for text b ..

#1 >>Next Page

Forum:CnWizards IDE Wizard ...
Thread:Suggestion for input ...
Next Thread:Search in help

Home
Login

Powered by Discuz!