Elastic tabstops?

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.

Elastic tabstops?

Postby philbooth » Sat Oct 18, 2008 5:25 am

Does UE support or are there any plans to support elastic tabstops (a la http://nickgravgaard.com/elastictabstops/)?
philbooth
Newbie
 
Posts: 1
Joined: Sat Oct 18, 2008 5:21 am

Re: Elastic tab stops?

Postby Mofi » Sat Oct 18, 2008 11:52 am

No and no! In UltraEdit you can specify multiple tab stop values similar to MS WORD which is especially useful for languages like assembler for example. And UltraEdit automatically aligns a new line on RETURN on the first non whitespace character of the line above if auto-indent is enabled, with the same whitespace characters as the line above. But elastic tab stops as explained on the referenced page are not supported.

I also have never seen a programmer which uses proportional fonts. A proportional font is used in a text editor normally by users writting normal text or HTML, but for programs and scripts it does not really make sense in my point of view. Some people may have a different opinion and use proportional fonts also for program code. If they are happy with that, why not.

A few days ago we have had in our department a discussion about new guidelines for C/C++ program code because of a new big project. One half of the team wanted tabs and the others spaces. As I demonstrated what happens with program code which uses for indentation tabs with 2 or 3 as tab stop value

  • after copying a code snippet into an text email;
  • when comparing 2 versions of a source file with a compare tool to see the changes last made;
  • just viewing some source files with the integrated viewer of Total Commander after a search in all source files;
  • looking on the list file created by the compiler with the original C code as comments;
  • debugging the program with a third-party debugging tool;
  • copying a source code snippet into a forum post to get help by others;
  • changing the tab stop value later and what happens then with the line comments;
  • running several replace in source files with mixed tabs and spaces;
  • running a find in source files with tabs with find results printed to an edit window, output window or UE's list lines containing string dialog;
the discussion about using tabs or spaces for indentation immediately ended with the decision to use spaces. Tabs with a fixed or elastic tab stop value are good if used consistently (and not normally tabs and sometimes spaces) and a complete source file or a code snippet is never viewed in any other application as the editor used for writing the code. But in all the situations listed above tabs are horrible for the alignment of the code and the line comments.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4039
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Elastic tabstops?

Postby 999999 » Sun Oct 17, 2010 1:22 pm

Geez. What a response. Some people prefer elastic tabstops, just like some people prefer tabs or spaces. Never mind their reasons.
999999
Newbie
 
Posts: 6
Joined: Thu Dec 25, 2008 9:18 am

Re: Elastic tabstops?

Postby bulgrien » Sun Oct 17, 2010 9:12 pm

Mofi is quite passionate against the use of tabs. =) Nevertheless, he's a user just like you and me. If you really would like to see elastic tabstops in UltraEdit, then the user-to-user forums isn't the place to express it. Send an enhancement request to IDM via email. If enough users request the feature then there is a chance that it could eventually become a configurable option in some future version of the product.
User avatar
bulgrien
Master
Master
 
Posts: 92
Joined: Fri Dec 11, 2009 1:02 am
Location: Pennsylvania, USA

Re: Elastic tabstops?

Postby thofei » Mon Nov 08, 2010 11:29 am

And to add fuel to (Mofi's) fire (sorry for that :) ), I just got this response from IDM:

Thank you for your message. We have had other users request this functionality. I will add your name to the list. Our developers are
considering this for a future release.

So it seems there were already some requests for that functionality and if others want that as well, just follow the link Bulgrien posted, it's a matter of one minute.

But I fully agree with it being optional, because actually I agree with Mofi's reasoning, in an environment where more people work with the same sources, this might lead into problems.

Cya
Thomas
thofei
Newbie
 
Posts: 3
Joined: Wed Nov 03, 2010 8:33 am


Return to UltraEdit General Discussion