[TxMt] Extremely slow pasting of text

Allan Odgaard throw-away-1 at macromates.com
Tue Mar 7 09:52:23 UTC 2006


On 7/3/2006, at 0:14, Michael Ströck wrote:

> [...] What's going on?

The problem is with the lack of newlines. It is a know issue and  
primarily has to do with handing over the entire line to ATSUI for  
rendering and text metrics, but there are also other issues, like  
using line endings as safe points for parsing of text for syntax  
highlight, meaning each change require the entire line (70-80KB) to  
be reparsed, and while that happens, edits to the line will stall the  
main thread.

Enabling soft wrap (View menu) solves the ATSUI issue.




More information about the textmate mailing list