Page 1 of 1

Automatic command completion

Posted: Sat Aug 17, 2002 12:44 am
by Murad Khan
Hi all:

Does anyone know if there is a way to get TextPad to automatically complete syntax statements and code segments. For example I once used an editor that would do complete statments or atleast present you with what it thought you were typing, and let you take the suggestion with the tab key, or disappear if you continued typing. Its been a while so I have forgotten the name of the editor.

Let's say the syntax you were dealing with was an if statement that required a "then" at the end of the condition specifier, and you typed "if ", it would automatically give you:

if () then {

}

and put the cursor inside the parenthesis. If you typed "ife ", it would additionally give you an else clause.

Is it possible to make Textpad do this?

AdThanksVance,

Murad Khan

Re: Automatic command completion

Posted: Sat Aug 17, 2002 7:38 pm
by Andreas
Problem with this is that Textpad is code-language independent.
It is quite difficult to implement such a thing for multiple languages...

Re: Automatic command completion

Posted: Mon Aug 19, 2002 12:38 am
by Murad Khan
Hmmm. I see. Well, I wonder if anyone knows of Win32 editors out there that might allow this. I suppose emacs is one that probably does.

M

Re: Automatic command completion

Posted: Mon Aug 19, 2002 5:31 am
by Jens Hollmann
I would like to have this feature too. Send it as an enhancement request to the TextPad support. If enough people request it, it might get implemented.

In the meantime I am using a tool called UltimaShell (www.flashpeak.com) that hooks itself into the keyboard input. Works quite well with TextPad.

Kind regards

Jens