[TxMt] Chunked undo, Language, overall slowness

Steve Weintraub steve at dalahus.com
Sun Sep 4 23:37:34 UTC 2005

On Sep 4, 2005, at 6:22 PM, Sune Foldager wrote:

> On 04/09/2005, at 23.10, Steve Weintraub wrote:
>> I've never even encountered this type of keystroke-level undo  
>> until TextMate, and I find it slows me down considerably. Please  
>> make chunks a preference!
> Well it would have to be implemented before it can be made a  
> preference! :-p. It's on TODO I know.
Sorry; I had looked in the archives, and saw first mention of this  
back in February, so assumed that it had been implemented by now. I  
hate to belabor this, but from what I've read in the archive, a lot  
of people are asking for "normal" undo, so I hope its high up on the  
todo list (if there is an ETA, that would be helpful to share).

>> Re: slowdown, I read about something involving the caching, and I  
>> did flip a defaults write, so app switching does seem a bit  
>> better..but tab-to-tab is really sluggish, and I'm on a dual 2 G5.  
>> This is just a text editor, I can't imaging what's happing behind  
>> the scenes that causes this.
> Well, we are only human. There is a lot of parsing and layout and  
> not to mention text layout (using ATSUI), which is actually quite  
> slow on Mac. TextEdit and NSTextView in general have tons of  
> optimizations in their code to cope with this. TextMate also does a  
> good deal of caching here.

HUMAN? How dare you! :)
I don't know from ATSUI, but I assume there is a good reason you're  
using it rather than TextEdit or NSTExtView, given what you indicate  
are optimization compromises.

As a new user to TextMate (and having been in involved in number of  
development projects), I can't help but bring the baggage of being  
used to certain performance, behaviors and expectations from a Mac  
application, so please forgive if I come off a bit frustrated. It's  
tough competing in this space, what with the 800 lb. BBedit, and its  
a testament to the work done thus far that I'm using TextMate a bit  
more now, if only for the integrated project drawer and code- 
collapsing features.

btw-- how about making the Language label in the window a drop-down  
menu to change language on the fly? :)

More information about the textmate mailing list