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 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.4.693 and 1.8.4.693 Beta   / Affinity Designer 1.8.4.693 and 1.8.4.693 Beta  / Affinity Publisher 1.8.4.693 and 1.8.4.687 Beta.

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 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.4.693 and 1.8.4.693 Beta   / Affinity Designer 1.8.4.693 and 1.8.4.693 Beta  / Affinity Publisher 1.8.4.693 and 1.8.4.687 Beta.

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.8.4, Affinity Designer 1.8.4, Affinity Publisher 1.8.4; macOS Mojave 10.14.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 
1.8.4.186 & Affinity Designer 1.8.4.4 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 13.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.8.3,  Affinity Designer 1.8.3, Affinity Publisher 1.8.3, Mac OSX 10.15, 2018 MacBook Pro 15"

Betas as they happen... 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.