Page 1 of 1

tab completion

Posted: Thu Aug 22, 2013 12:00 pm
by ddaniels
LiveCode is not my first IDE but I do believe it is the first I've come across that does not have tab completion!

Please, tab completion! Please!

Re: tab completion

Posted: Thu Aug 22, 2013 12:19 pm
by Klaus
Pardon my ignorance, what is "tab completion"?

Re: tab completion

Posted: Thu Aug 22, 2013 12:28 pm
by MarcVanCauwenberghe
You probably mean typing in a few letters, seeing a drop down menu of possible keywords and pressing TAB to complete the word your typing?

If so, at this moment this is not available in the IDE. It probably will be in the new IDE that is being made.

Marc

Re: tab completion

Posted: Thu Aug 22, 2013 12:43 pm
by Klaus
Ah, thanks/bedankt! :D

Re: tab completion

Posted: Thu Aug 22, 2013 3:38 pm
by MarcVanCauwenberghe
Your welcome/bitte schön

Marc

Re: tab completion

Posted: Wed Sep 25, 2013 8:45 am
by mariasam
I seem to run into problems when I have to escape special characters - that is what I would like to see some livecode examples of - the examples that are in the dictionary today are very basic. I know...I should probably write my regex in a text file and merge it into a variable and use that, but it would be nice to have a couple of examples that go beyond using a single word in the search.

Re: tab completion

Posted: Wed Sep 25, 2013 10:48 pm
by dunbarx
Maria.

It would be a terrific exercise to write a gadget that does what you asked for. This is not hard to do at all. Assuming there are no spelling errors (which is another level of difficulty) you can check the current entry, char by char, on "keydown" or somesuch, and offer a list of possible words in a small field that looks like the tab thing you mentioned.

I would not show any possibles until either the number of chars in the source text is, say five, or if the number of possible matches is less than a zillion.

If you do try, please let us know how it is going.

Craig Newman