Jump to content
You must now use your email address to sign in [click for more info] ×

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 12.6 Monterey; Memory: 16GB;  Graphics: Intel Iris Plus Graphics 640 1536 MB; Processor: 2.3 GHz Intel Core i5 ]

Link to comment
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
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
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
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
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.

Link to comment
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 12.6 Monterey; Memory: 16GB;  Graphics: Intel Iris Plus Graphics 640 1536 MB; Processor: 2.3 GHz Intel Core i5 ]

Link to comment
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.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
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

Link to comment
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 2.0.3,  Affinity Designer 2.0.3, Affinity Publisher 2.0.3, Mac OSX 13, 2018 MacBook Pro 15" Intel.

Link to comment
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

Terms of Use | 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.