[TxMt] Re: Automagically figuring out tab size?

Christian Rosentreter karibu at gmx.net
Wed Nov 16 22:22:53 UTC 2005


Hello Allan

On 16.11.05, you wrote:

>> I don't suppose it would be possible for Textmate to make an  
>> attempt to 'guess' the tab size (and whether the file is using hard/ 
>> soft tabs) when a file is opened? [...]

> The thought has crossed my mind -- my main concern is with how to  
> properly indicate to the user that he's not using his default setting  
> -- I was thinking something along the lines of highlighting the tab  
> size setting in the status bar.


There could be support for an external indent (e.g.
http://www.gnu.org/software/indent/indent.html) and some "Re-indent" 
command setting (makes sense for C bundle at least). Just as idea. 

regards,
-- 
.tokai - christian rosentreter  @ http://www.christianrosentreter.com 

the sun sets, the sun rises.



More information about the textmate mailing list