| View previous topic :: View next topic |
| Author |
Message |
Zonbidesu
Joined: 14 Jan 2009 Posts: 28
|
Posted: Tue Mar 31, 2009 11:42 am Post subject: ideas for AUTO TAB |
|
|
I set my AUTO TAB config to a lower number (500) so I just get the list of things in the last couple of rooms I've been in. However, sometimes I get ethings that get in the way of other words I'd like to auto tab:
bro [TAB] bronze
when I ant
bro [TAB] brownie
So I have two questions: Can you make things added to the auto tab most recently have higher precedence? And can you have TAB go through the list?
Room Name
Room Desc
Bronze sword
brownie sprite
dragon
1. Dragon
2. brownie
3. bronze
bro [TAB 1] brownie [TAB 2] bronze (Switches between things that match 'bro')
Also, can you delete items from auto tab?
bro [TAB] bronze [SHIFT+TAB or w/e]
#BRONZE DELETED FROM AUTO TAB!
bro [TAB] brownie
Thanks,
Zonbidesu. |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3281
|
Posted: Tue Mar 31, 2009 12:51 pm Post subject: |
|
|
| Recent lines already have a higher priority. I might improve auto tab at one point of time, but right now it's not a priority to me. |
|
| Back to top |
|
 |
tarryn
Joined: 06 Jun 2009 Posts: 2
|
Posted: Tue Jun 09, 2009 1:31 am Post subject: [PATCH] Super Tab Completion! |
|
|
Zonbidesu,
I think you are quite right that multiple tab completion would be very helpful. Once a completion occurs, it should cycle to the next item and so on, until the possibilities are exhausted. At that point, it would return to the text you started with:
bro [TAB] brownie [TAB] bronze [TAB] bro [TAB] brownie
What you are describing with SHIFT-TAB might possibly be accomplished with a macro + function. However, even if it didn't remove from the auto tab or tab list, it could still do a reverse cycle:
bro [TAB] brownie [TAB] bronze [SHIFT-TAB] brownie [SHIFT-TAB] bro
Indeed, I have implemented this exact functionality! You can apply this patch against the 1.99.5 source tree:
http://www.kylimar.com/tintin/SuperTabCompletion-1.99.5.patch
Completion by default now searches through the tab list first, but then cycles through the scrollback buffer once the tab list is exhausted. Searching just the scrollback buffer or just the tab list, forward or backward, now exists as separate #cursor functions.
There are several smaller bug fixes in the cursor.c file as well. |
|
| Back to top |
|
 |
|