[TxMt] Problems with Find in Project in TM2 alpha

Adam Sharp adsharp at me.com
Sun Dec 18 23:39:37 UTC 2011


Hi,

Firstly, loving the new Find in Project interface, particularly the live preview for Replace All.

However, having a problem where Find All makes some really wacky selections. For example:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wacky-selection.PNG
Type: image/png
Size: 49924 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20111219/3c27cf85/attachment-0002.PNG>
-------------- next part --------------


As it turns out, lines 90 and 94 can't possibly exist in this file?it only has 59 lines! If I re-run Find All it then selects the correct lines and marks them with a star in the gutter.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: correct-selection.PNG
Type: image/png
Size: 12944 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20111219/3c27cf85/attachment-0003.PNG>
-------------- next part --------------


Consequently, if I run Replace All when the weird or non-existant lines are selected, I get some incredibly strange results, like my replacement text being inserted at a random place in a line I never selected.

This is a large project with 3000+ files and directories.

Is anyone else having problems like this?

Adam


More information about the textmate mailing list