@Nick Gammon: Probably to the same extent Fiendish could achieve his idea with a bit of scripting. But if I make a few concessions, aye I could script it with miniwindows.
OK, and if the list is populated like you say, what order would you expect it in?
*Alphabetical (helps find a particular command)
*Most recent at the top
*Most recent at the bottom
Since I don't know what "top" and "bottom" are, I think I'd go with most recent at the nearest so that recently used commands require the least effort to bring back.
Amended on Thu 23 Jun 2011 12:57 AM (UTC) by Worstje
Message
I still would appreciate the ability to have Shift-Tab pop up a list of dictionary words that could (auto-)complete the current word or correct it (using that Levenschtein distance used for the spellcheck window). The idea is to easily correct / pick the correct spelling for a word when you know you have trouble spelling it correctly.
But that's the last time I'll post about that wish of mine.
I think it should attempt to complete the entire line. The way it was described to me was like how firefox suggests completions for URLs typed into the address bar.
I believe the second depiction, using cast, is about right.
using shift-tab while typing on the command line should pop up a selection of matching command history instead of a function list. It would be like a more complete tab completion.
Now just to expand on this idea ...
Do you mean, pop up a list of (whole) commands that match ... what? The word next to the cursor? Everything you have typed? Or just candidate words for insertion into the text? I can see this working in different ways.
For example, say you typed "cast fire<shift+tab>" ...
Would it look backwards for things starting (or containing maybe) "fire" and put up a list like:
firestorm
fireball
firestarter
fireplace
And then you choose one, and it inserts it into the command instead of "fire" (like a tab-completion with choices)?
Or, if you typed "cast<shift+tab>" ...
Would it look backwards for whole lines matching (or starting with) "cast <something>, eg.
cast fireball
cast heal
cast recall
cast frost
And then when you choose one it puts the whole matching line into the command window, replacing what you had there?
I think the idea needs fleshing out, or you (or someone) will say that whatever-I-do isn't what you wanted.
Shift-Tab might also offer matching words from the spellcheck dictionary when the command-line isn't fully empty and there's no scripting going on, just like normal Tab does for recent lines in the output window. I realize that is a conflicting request compared to Fiendish wish for the key combination, but maybe it can be a world or global configuration option as his idea is something I would probably never have a use for.
For example, some words I can't ever learn how to spell properly despite having been corrected a hundred times (guarantee <-?-> garantuee as an example), and having an easy way to type it and check the proper spelling would be a great saver compared to visiting dictionary.com, wait 10s for it to load, type the word, and waiting another 10s. (That website is so damn slow.)
One might argue I should get in the habit of using Ctrl-J (spellcheck) more often, as it technically does what I want (assuming earlier words on the command line are all recognized, which isn't a given either).. but it pops up half a screen away from my cursor and makes the check a more interruptive one than I feel it ought to be.
using shift-tab while typing on the command line should pop up a selection of matching command history instead of a function list. It would be like a more complete tab completion.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.