Remove 'invisible' character through selected documents

db
dbc183c7
Posts: 144
Joined: Sat Oct 25, 2014 12:59 am
Platform: Windows

Mon Nov 09, 2015 5:56 pm Post

I have a folder with many documents that need a particular character string with line-return -- "xx/" -- removed throughout. (I am 'looking at' the several documents in Scrivener mode.)
I have copy pasted the string-with-return to the Find dialog and left the Replace box empty: Alt-A/Replace All does not remove the string-with-return. (I want the string's entire line gone.)

Replace & Find works as expected in only the one document where the cursor sits; Replace All with the Replace All Scope to Entire File (leaving the Find/Replace values as they were) makes no changes, gives no result's feedback, only the button's depression.

(I read in another post about 'Show Invisibles', then copy/pasting the return to Find ... , but that did not work for me.)

[Scrivener, 1.9.0.0 trial version for Windows (7); I'm waiting for v2.0/Windows before buying, waiting for the dynamic document name feature.]

db
dbc183c7
Posts: 144
Joined: Sat Oct 25, 2014 12:59 am
Platform: Windows

Mon Nov 16, 2015 11:57 pm Post

So, it seems that I cannot merely copy "xx" and the immediately trailing return (hard or soft).
Reading another thread that asked a similar question -- copying text and its (italic) format -- I saw that Find/Replace may only be for simple text, that complications like formatting (and line returns?) are not visible to the routine?

User avatar
MimeticMouton
Posts: 8965
Joined: Wed May 05, 2010 5:39 am
Platform: Mac + Windows
Location: city of rain
Contact:

Fri Nov 20, 2015 9:05 am Post

Right, the Find/Replace function is purely the text; it doesn't replace (or make any distinction between) formatted text. Carriage returns are a separate issue. They aren't currently supported in the Find/Replace, but that support will be added in the future.

Find/Replace does work through multiple documents in a Scrivenings session, with the scope set to "Entire File". The problem here was just that the particular search term wasn't valid.
Jennifer Hughes
(MM for short)