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:
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.
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
On 19 Dec 2011, at 00:39, Adam Sharp wrote:
[…] 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.
This is (most likely) because your files are using CRLF which the folder search is not handling gracefully (unless the file has already been opened and gone through the “harmonization” code).
Anyone else having problems with Find? Yes. I have noticed that unchecking a hit, so that it will not be replaced, doesn't keep it from getting replaced--basically the check boxes do not do anything. Tim
On Sun, Dec 18, 2011 at 3:39 PM, Adam Sharp adsharp@me.com wrote:
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:
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.
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
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I am also having strange issues with "replace all", and it might be because of inconsistent CRLF line endings (we have code saved from both windows and unix and mac). When I went to go do a replace all, I noticed random text was replaced on half of my files.
On Sun, Dec 18, 2011 at 8:34 PM, Tim Rand timrandg@gmail.com wrote:
Anyone else having problems with Find? Yes. I have noticed that unchecking a hit, so that it will not be replaced, doesn't keep it from getting replaced--basically the check boxes do not do anything. Tim
On Sun, Dec 18, 2011 at 3:39 PM, Adam Sharp adsharp@me.com wrote:
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:
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.
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
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
+1 There are a lot of mismatch between the lines showed in the Find panel and the actual files. Running Find All twice doesn't fix the problem: you have to open the files and save them (even without any modification) and then re-run Find All. Anyway, I'm quite sure my files are all CR/LF consistent: they all have been created in TM1.5.