Jump to content
Jim_A

Some special characters cannot be pasted into Search And Replace

Recommended Posts

Some special characters cannot be pasted into Search And Replace, such as Column Break, Page Break, Frame Break. (I haven’t tested all of them.)

 

I can’t see a way to search for these invisible characters.


[ macos 10.12.6 Sierra; Memory: 16GB;  Graphics: Intel Iris Plus Graphics 640 1536 MB; Processor: 2.3 GHz Intel Core i5 ]

Share this post


Link to post
Share on other sites

If the Mac version works like the Windows version does, it's a bit cumbersome, but it can be done.

Here's an example from Windows: in the Find & Replace panel, click the pulldown list under Replace, and select Column Break. That will put the special Column Break character into the Replace field. Select it, and cut it, and then paste it into the Find field.


-- Walt

Windows 10 Home, version 1903 (18362.145), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.1.404 and 1.7.1.404 Beta   / Affinity Designer 1.7.1.404 and 1.7.1.404 Beta  / Affinity Publisher 1.7.1.404

Share this post


Link to post
Share on other sites

Actually, it's even easier: Click on the magnifying glass under Find, and there's a pulldown with the special characters that you can select directly.


-- Walt

Windows 10 Home, version 1903 (18362.145), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.1.404 and 1.7.1.404 Beta   / Affinity Designer 1.7.1.404 and 1.7.1.404 Beta  / Affinity Publisher 1.7.1.404

Share this post


Link to post
Share on other sites

I would strongly prefer Find/Replace to use simple copy/pasted invisibles. Sometimes text files contain quite exotic invisibles and this would be an easy way to remove/change them. Sometimes getting rid of those devils is really hard if you cannot search them.

Share this post


Link to post
Share on other sites

Can't find what Walt refers to in the Mac version. I have no "magnifying glass under Find". 

What's worse: I can't paste any copied text string into the Find or Replace fields.

Once I have entered a search string manually, I can see some coding for special characters (e.g. "\n\r"), but when I enter that code, it does not find anything.

Share this post


Link to post
Share on other sites

Yes, like Kurt, I can't see a magnifying glass under Find. 

This is a Mac version issue. I've downloaded the PC version running in virtual machine running Windows 10 and the magnifying glass is there.

[ macos Sierra 10.12.6 ]

 


[ macos 10.12.6 Sierra; Memory: 16GB;  Graphics: Intel Iris Plus Graphics 640 1536 MB; Processor: 2.3 GHz Intel Core i5 ]

Share this post


Link to post
Share on other sites
5 hours ago, Kurt J. Meyer said:

Can't find what Walt refers to in the Mac version. I have no "magnifying glass under Find". 

What's worse: I can't paste any copied text string into the Find or Replace fields.

No magnifying glass under Find here either, but there are some options available from the Gear icon popups. OTOH, I am able to copy & paste text into the Find & Replace fields.


Affinity Photo 1.7.1, Affinity Designer 1.7.1, Affinity Publisher 1.7.1; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.1.143 & Affinity Designer 1.7.1.1 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites

This "search and replace" panel is a little clumsy for now.

It needs a "search in selected text" option, and other advenced ones;

And more important: if regular expression are use as shown in the result list, we should be able (an option?) to write it, it's more efficient for people knowing regular expressions that searching in a menu (it'll need a cheat list as in other apps depending on possible/implemented expressions and new code for special characters).

2018-09-01_213557.png.29ba35fa83fff1b452eb571919fd1efc.png

Share this post


Link to post
Share on other sites

Did a bit of experimenting...

I can type \t into the Find box and it's immediately converted to a Tab character:

916204704_Screenshot2018-09-02at00_34_08.png.077914685ac8a4ad9f142d0eeee9859e.png

 

Pasting in a paragraph return finds \n\r, but typing  \n\r into the Find box has no effect - no immediate conversion to a paragraph return symbol and searching returns no results, even in a document with plenty of paragraph marks.

I can paste a "soft return" or line end into and Find box and it searches for <LSEP>, finding soft returns.

1903569194_Screenshot2018-09-02at00_39_43.png.4affbb96da36a25e3704c23632215163.png

 

But typing <LSEP> into the Find box returns nothing:

842558934_Screenshot2018-09-02at00_40_00.png.062432ef5dac1a8f19b6f1e8fcd44b92.png

Pasting a column break (looks like a forward-pointing arrow, also used as a table delimiter) doesn't even change the contents of the Find box. Same with a column break (downward pointing arrow). 

Pasting in a page break (solid downward pointing arrow) appears to add a space (or at least a blank character of some description) to the Find box and returns every justified line ending.

Pasting in an em dash adds a special character to the Find box and finds em dashes.

Hope this helps...

 

 

 


Affinity Photo 1.6.7, Affinity Designer 1.6.1

Various betas

macOS 10.14

MacBook Air

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×