Automatic command completion

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Murad Khan

Automatic command completion

Post 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
Andreas

Re: Automatic command completion

Post by Andreas »

Problem with this is that Textpad is code-language independent.
It is quite difficult to implement such a thing for multiple languages...
Murad Khan

Re: Automatic command completion

Post 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
Jens Hollmann

Re: Automatic command completion

Post 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
Post Reply