Home Download Buy Blog Forum Support

Find replace broken in 2162?

Find replace broken in 2162?

Postby handycam on Mon Jan 09, 2012 2:57 pm

I needed to do a simple find/replace, as shown:

Image

However, once I click "replace all" the ENTIRE "p" tag is replaced with ">", breaking my code:

Image
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: Find replace broken in 2162?

Postby handycam on Mon Jan 09, 2012 3:01 pm

It does this in 2139 too, so I must be doing something wrong here. Not sure what.
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: Find replace broken in 2162?

Postby C0D312 on Mon Jan 09, 2012 4:32 pm

Check the options on the last side of the find and replace panel. Make sure Regular Expressions and Whole Word are turned off and Wrap is turned on.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Find replace broken in 2162?

Postby handycam on Mon Jan 09, 2012 6:19 pm

C0D312 wrote:Check the options on the last side of the find and replace panel. Make sure Regular Expressions and Whole Word are turned off and Wrap is turned on.


They are:

Image
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: Find replace broken in 2162?

Postby C0D312 on Mon Jan 09, 2012 6:24 pm

Perhaps it's related to word wrap, try turning it off and see if that helps...
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Find replace broken in 2162?

Postby handycam on Mon Jan 09, 2012 6:56 pm

C0D312 wrote:Perhaps it's related to word wrap, try turning it off and see if that helps...


Turned off all options, same result as original screen shot.
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: Find replace broken in 2162?

Postby jps on Mon Jan 09, 2012 7:23 pm

Can you provide some example text where it's doing the wrong thing?
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Find replace broken in 2162?

Postby C0D312 on Mon Jan 09, 2012 7:49 pm

handycam wrote:
C0D312 wrote:Perhaps it's related to word wrap, try turning it off and see if that helps...


Turned off all options, same result as original screen shot.


I meant word wrap on the file. View > Word Wrap
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Find replace broken in 2162?

Postby handycam on Tue Jan 10, 2012 3:22 pm

jps wrote:Can you provide some example text where it's doing the wrong thing?


I attached the file.

I was searching for
Code: Select all
p class="Normal para-style-override-1"
and replacing with
Code: Select all
p class="Normal"


And instead the replacement was simply
Code: Select all
>
Attachments
CH00--FOB-1.zip
The file I was using, extension was html
(9.39 KiB) Downloaded 73 times
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: Find replace broken in 2162?

Postby jps on Tue Jan 10, 2012 10:40 pm

It's working properly when I try here.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: estmatic and 34 guests