How to find words in style Code Example?

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
Dave Gehman
Posts: 575
Joined: Sat Sep 23, 2017 9:05 pm

How to find words in style Code Example?

Unread post by Dave Gehman »

Write > Search doesn't seem to find whole words in searches when those words are styled in Code Example.

Is there a workaround? We need to find every instance where 'var' is used in code snippets in our help file.

We used Write > Find & Replace...
Find in: All Topics
Find where: Topic Text and Header

FInd what: var (space after 'var')
Replace with: [blank]
Options - checked "Match whole word"

Finished with Find All button.
User avatar
Tim Green
Site Admin
Posts: 23157
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: How to find words in style Code Example?

Unread post by Tim Green »

Try searching and replacing var without a space after it, or copy and paste the var with the space from the code example into the search field. Non-breaking text uses different spaces, and this will be your problem here. 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Dave Gehman
Posts: 575
Joined: Sat Sep 23, 2017 9:05 pm

Re: How to find words in style Code Example?

Unread post by Dave Gehman »

I'm glad you knew about this. It's about as arcane and total-geek of any programmer's nook or cranny that I've ever run across.

In any case, thanks.
Post Reply