Valid pairs of keywords

Ideas for new features

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

Post Reply
DavidG
Posts: 5
Joined: Thu May 18, 2006 7:15 am

Valid pairs of keywords

Post by DavidG »

Whilst using Textpad to edit GENESIS (neural simulator) scripts it has occured to me that a degree of syntax checking and prediction would be extremely easy to do.

Firstly let me say that I think it is important to maintain the elegance, simplicity and low cost of TextPad. Other editors seem to suffer badly from 'bloat' in complexity and in price.

So my idea for implementation is very simple.
Have another file, .syp, in which contains a list of keywords that is a copy of some or all of the keywords in .syn. For each of these keywords, on the same line, is a list of valid successor words in the syntax. No more than that!
When a cursor is at the end of a keyword, and space is pressed, a list of valid successor words is shown. The user can then select one of these words.
Valid successor words could also be shown in the previously suggested baloon help.
Post Reply