[TxMt] Find/Replace Speed (inserting of many \n)

Hans-Joerg Bibiko bibiko at eva.mpg.de
Fri Mar 23 15:04:46 UTC 2007


On 23 Mar 2007, at 13:33, Alex Mason wrote:

> Could you not also search for a tab character (copy and paste it in  
> there), and the replace with a new line char (again, C&P). wouldn't  
> need to do the more complex regexy stuff, and would hopefully be  
> faster.
>

Well, I gave it a try:
with '\n' and regexp: 3:05min
your suggestion without regexp: 3:01min

As Charilaos mentioned it is a problem for TM to rebuild all new  
inserted \n internally.

BTW: perl filter: 0:09min



>
> On 23/03/2007, at 11:23 PM, Charilaos Skiadas wrote:
>> ...
>> Yes the problem has to do with the new lines created being  
>> processed by the parser immediately. Unless I am mistaken though,  
>> this will be fixed in 2.0, so if that's the case then I wouldn't  
>> expect any changes before 2.0.
>>

Thanks for the info!


Best,

hans





More information about the textmate mailing list