PaoloT Posted May 28 Share Posted May 28 Hi, I would like to replace a paragraph style with a different one. The Find and Replace panel does allow for specifying text styles, but then one seems to have to enter a regular expression to find all the text. I tried with different regex strings, with no success. How would you do? Paolo Quote Link to comment Share on other sites More sharing options...
Return Posted May 28 Share Posted May 28 2024-05-28 12-52-06.mp4 PaoloT 1 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted May 28 Share Posted May 28 1 hour ago, PaoloT said: but then one seems to have to enter a regular expression to find all the text You do not need to enter a Find expression, or a Replace expression. Simply specifying the format to find, and the format to replace with, will work. PaoloT 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
Return Posted May 28 Share Posted May 28 1 minute ago, walt.farrell said: You do not need to enter a Find expression, or a Replace expression. Simply specifying the format to find, and the format to replace with, will work. Perhaps I'm on your ignore list but isn't that what I showed in my video here above? Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted May 28 Share Posted May 28 18 minutes ago, Return said: Perhaps I'm on your ignore list but isn't that what I showed in my video here above? Perhaps it is what you showed. It was unclear to me. But words also help, and are often simpler to understand than having to watch a video and figure out what the video is trying to show. Return 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
PaoloT Posted May 28 Author Share Posted May 28 Thank you for your answers. It was what I was doing, but it didn't work. But I finally understand what I was doing wrong. I was hoping to see the Replace All button enabled immediately after having entered the search/replacement criteria. It doesn't work this way. You have to first click Find once, and then Replace and Replace All appear. I'm not sure it is the most intuitive way of working, and I would probably prefer Replace All to appear immediately. But it's not a major issue. Paolo walt.farrell and Return 2 Quote Link to comment Share on other sites More sharing options...
R C-R Posted May 28 Share Posted May 28 2 hours ago, PaoloT said: You have to first click Find once, and then Replace and Replace All appear. Until you click the Find button, the app has no way of knowing if you are through entering text in the Find field. Otherwise, it would have to begin looking for matches beginning with the first character you typed into that field. So imagine how much processing power it would take if you just typed for instance "th" in a document that had tens of thousands of words in it. Return and PaoloT 2 Quote All 3 1.10.8, & all 3 V2.5.5 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
MikeTO Posted May 28 Share Posted May 28 3 minutes ago, R C-R said: Until you click the Find button, the app has no way of knowing if you are through entering text in the Find field. Otherwise, it would have to begin looking for matches beginning with the first character you typed into that field. So imagine how much processing power it would take if you just typed for instance "th" in a document that had tens of thousands of words in it. That what Microsoft Word does, it updates the results in the Find pane as you type into the Find field. It's an awesome feature and has set the bar rather high for other apps. PaoloT 1 Quote Download a free PDF manual for Affinity Publisher 2.5 Download a quick reference chart for Affinity's Special Characters Affinity 2.5 for macOS Sequoia 15.1, MacBook Pro 14" (M1 Pro) Link to comment Share on other sites More sharing options...
R C-R Posted May 28 Share Posted May 28 4 minutes ago, MikeTO said: That what Microsoft Word does, it updates the results in the Find pane as you type into the Find field. It's an awesome feature and has set the bar rather high for other apps. Does it start doing that with the first character typed? So if say I just typed "t" in a document with 150,000 words in it, how quickly would it list every word with a 't" in it? Quote All 3 1.10.8, & all 3 V2.5.5 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Return Posted May 28 Share Posted May 28 Just tested(not with 150.000 words though) but it was instantly. I think Serif tries, with its approach, to avoid this resource overhead because it isn't a wordprocessor and there could be multi vector and raster items with (live)filters in the same document which could possibly grind your system to a halt. Quote Link to comment Share on other sites More sharing options...
MikeTO Posted May 28 Share Posted May 28 (edited) 15 minutes ago, R C-R said: Does it start doing that with the first character typed? So if say I just typed "t" in a document with 150,000 words in it, how quickly would it list every word with a 't" in it? Word shows results in the sidebar only when there are <101 results, at least on macOS. If there are more than 100 results it doesn't list them but just takes you to the first one. In a document with 150,000 words (my history book happens to be about that long and I have a backup in Word), it shows the 100 or fewer results within a fraction of a second after pausing typing. It doesn't update the results as I type at regular speed but only if there is a pause longer than a certain number of milliseconds. Edited May 28 by MikeTO corrected typo R C-R and Return 2 Quote Download a free PDF manual for Affinity Publisher 2.5 Download a quick reference chart for Affinity's Special Characters Affinity 2.5 for macOS Sequoia 15.1, MacBook Pro 14" (M1 Pro) Link to comment Share on other sites More sharing options...
R C-R Posted May 28 Share Posted May 28 55 minutes ago, MikeTO said: It doesn't update the results as I type at regular speed but only if there is a pause longer than a certain number of milliseconds. Thanks for checking. Personally, I think it could be a little distracting for it to update after each pause but maybe that's just me. Anyway, once users understand how it works in Affinity it should be easy enough to remember that a click on Find is what shows the found items. Quote All 3 1.10.8, & all 3 V2.5.5 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Recommended Posts
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.