Smart Tabs

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

Smart Tabs

Postby pliebrand » Wed Jul 14, 2004 1:56 pm

Is there a smart tabbing option for UltraEdit? For example, if I have the following text:

Code: Select all
    move                 to $_test
    move

and I press TAB after the second move, that will align under the next text above it (to), for example:

Code: Select all
    move                 to $_test
    move                 _ <- cursor gets placed here on 1 tab

Thanks!
User avatar
pliebrand
Newbie
 
Posts: 3
Joined: Tue Jul 13, 2004 11:00 pm

Re: Smart Tabs

Postby DanKirkd » Thu Jul 15, 2004 11:21 pm

This can be done by setting Tab stops in the UltraEdit Configuration settings on the Edit tab.

To set multiple Tab Stop Values separate them by commas. Quoting the Help on this, "The user may define multiple TAB stop values (up to 12) in comma-delimited format, i.e. "4,4,8". The last value defined will be used for subsequent TABS. In the example above, the first two TABS would be equal to four spaces and all subsequent TABS would be equivalent to 8 spaces."

However, it appears this only works if you don't have the "Use spaces in place of Tabs" option selected. If it is selected, the Tab Stop Values seem to be ignored and the Indent Spaces setting is used for all tabs.

Dan
User avatar
DanKirkd
Basic User
Basic User
 
Posts: 39
Joined: Wed Jul 14, 2004 11:00 pm

Re: Smart Tabs

Postby Andreas » Fri Jul 16, 2004 2:43 am

I guess what pliebrand meant was to automatically have the cursor move (i.e. insert spaces) with a single press of the Tab key to wherever the next character is in the line above (preferably the last non-empty line above), independently of fixed tab settings... and, well, AFAIK that's not implemented, but I'd like to see that feature too...
User avatar
Andreas
Basic User
Basic User
 
Posts: 10
Joined: Thu Jul 15, 2004 11:00 pm
Location: PAF, Germany

Re: Smart Tabs

Postby pliebrand » Fri Jul 16, 2004 9:03 am

Andreas, bingo!
User avatar
pliebrand
Newbie
 
Posts: 3
Joined: Tue Jul 13, 2004 11:00 pm

Re: Smart Tabs

Postby DanKirkd » Fri Jul 16, 2004 9:55 am

Ah! That would indeed be some pretty smart tabbing feature.

Dan
User avatar
DanKirkd
Basic User
Basic User
 
Posts: 39
Joined: Wed Jul 14, 2004 11:00 pm

Re: Smart Tabs

Postby elenzil » Tue Aug 17, 2004 6:16 pm

Yes, indeed.

If anyone ever gets around to implementing this, I find that it's better to use Spaces rather than Tabs for Non-Leading Indents.
This is because if you use actual tabs, when somebody with a different tab-stop setup than you views the file, your nicely aligned columns will be messed up.

It's still good to use an actual tab for the Leading Indents, tho.

Orion
User avatar
elenzil
Newbie
 
Posts: 3
Joined: Mon Aug 16, 2004 11:00 pm

Re: Smart Tabs

Postby bozo » Fri Jan 11, 2013 6:54 am

Nothing since 2004?! I just requested this enhancement...

Anyone know any more?
bozo
Newbie
 
Posts: 1
Joined: Fri Jan 11, 2013 6:39 am


Return to UltraEdit General Discussion