Search String; Apply Formatting.

I’d like to be able to search for a specific string and apply formatting to that string. In my case, I want to find, in inspector footnotes, the pipe character ‘|’, then apply one or more types of formatting (e.g., a yellow background) to make it stand out. (The pipe character functions as a separator for different kinds of data and is parsed by RTF/ODF Scan for MLZ.)

Or perhaps there is a better (existing) way to achieve the goal?

Thx, kraml

Thanks, there is no way of handling format in batches like that right now, nor any clever routes I can think of (short of one-by-one alternation between Find Next and Highlight keyboard shortcuts, but that is not very clever :slight_smile:). The overall idea is something on the long-term list. It’s a fairly complicated mechanism, mainly on the UI side of things, but if we find a good way to do it, maybe it will appear.

I could replace ‘|’ with a more easily viewed character or string; then convert it back. But can I search and replace on footnotes? Or, I could set up an autoreplace, but can autoreplace be run against an entire project (if the string to be replaced already exists throughout)? kraml

The Project Replace tool should hit footnotes and comments, yes. They are considered a part of the “Text” in terms of which checkbox matters. I haven’t double-checked with the Win/Linux build, but it like I say it should be.

This isn’t implemented yet for inspector footnotes, but it Project Replacements will work for inline footnotes, and you can convert between the two types using the options in Format > Convert. Note though that the project replace will work on all the document text, not just the footnotes, and because it affects multiple documents it cannot be undone, so I would use File > Back Up > Back Up To… first to make a backup of the project as it stands, then try the footnote conversion and project replace to see if that will work for you.