[TxMt] Re: File browser, font size and scrolling

Matthias mawe at typeofundefined.com
Mon Jul 16 20:59:34 UTC 2012


Am Donnerstag, 12. Juli 2012 um 08:50 schrieb Allan Odgaard:
> On 30 Jun 2012, at 15:11, Matthias wrote:
>  
> > Is there a way to set the font size for the file browser? I have it set to 11 in Finder and would like to have it like hat in the file browser as well.
>  
> Is this TextMate 1.x? If so:
>  
> defaults write com.macromates.textmate OakProjectDrawerFontSize -int 15
TextMate 2, sorry about forgetting to mention that.  
>  
> > And when deep in a folder structure it becomes hard to navigate as the file browser just "compresses" file and folder names. Things get cool names like "e…p" (ext_localconf.php) or simply just disappear. I know I can work against this by making the file browser wider but when it already occupies half of your screen it gets amusing.
>  
> The problem with introducing horizontal scroll is that the virtual size has to be set to some fixed value¹. Since there is only a single column in the browser, I find a fixed width less desirable than the current situation, and for 2.o we allow descending into folders so you don’t get all this indent from the parent folders.
>  
>  
> ¹ At least w/o subclassing the table view and changing performance characteristics by having to query all table cells for size regularly.
I understand your arguments and with projects with a rather flat folder hierarchy I also prefer the current way. Maybe some .tm_properties setting (a fixed width as you mentioned) that activates the "other" behaviour only if present? Scrolling could then be activated if the file browser width exceeds the set value.

Just a suggestion. Currently I'm falling in love with ⌘T anyway.

— Matthias


More information about the textmate mailing list