[TxMt] Re: [TM2] Find in files has wrong line numbers

Yuan Jiang sleetdrop at gmail.com
Wed Jul 18 02:34:53 UTC 2012


And find in files doesn't work well with some encodings like GBK
I use Ack Textmate Bundle instead.

On Wed, Jul 18, 2012 at 8:02 AM, Adam Sharp <adsharp at me.com> wrote:
> On 18/07/2012, at 1:34 AM, Curt Sellmer wrote:
>
>> Yes indeed!  I have been studying some open source code and it does have CRLF line endings.  Checked agains my own code and the line numbers are correct.
>
> You can also work around the problem by first opening the offending files (I believe TM2 "sanitises" the line endings when opening the file), then re-running the Find.
>
> Adam
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



-- 
Yuan Jiang
http://blog.vetcafe.net
http://twitter.com/sleetdrop


More information about the textmate mailing list