Skip to main content
Participating Frequently
October 18, 2010
Question

Find and Replace not updating HTML Code

  • October 18, 2010
  • 1 reply
  • 1356 views

I have been using the Robohelp 8 “Find and Replace in Files” tool and have run across a weird issue.

I am currently adding Alt and Title tags to all the images in all of the help files. For the images where I have multiple uses throughout multiple files, I attempted to do a find for the image name and then a replace with the image name including the alt and title tag information.

For example I search for:

scr=”image.gif”

And replace that with

scr=”image.gif” alt=”image desc” title=”image title”

After I do the find and replace, for some reason the files are not updated, but if I search for the same text, the files will be updated within the search window.

See images below for the examples:

Find and Replace Code:
http://img686.imageshack.us/i/fandrcode.gif/


Help File Code:

http://img214.imageshack.us/i/htmlcode.gif/

Sometimes if I have the files open, the code will update, but most of the time the Help file html code wont update at all.

Is there any information concerning this issue, or if this is a known issue are there any work arounds. I have tried searching but unable to find anything on this specific issue.
This topic has been closed for replies.

1 reply

MergeThis
Inspiring
October 18, 2010

Unfortunately, the RH Find/Replace doesn't work across lines. FAR or BKReplaceEm do.

Good luck,

Leon

Participating Frequently
October 18, 2010

Thank for the quick response.

Is there any way to get robohelp to update to the code that is in the HTML files?

Basically the source code shows the changes (and I did alot of find and replace changes already) but robohelp is showing the older code.

MergeThis
Inspiring
October 18, 2010

My apologize.

By help files I am refering to the  files that I am editing/changin/updating after I open the project (the  topics). Not the published files of the project.

I do a find and  replace on an image name and the code in the find and replace window shows  more code then if I where to open the topic and view the html code  manually.

I think closing everything out and then  reopenign the project file resolved the issue. But I am unable to verify  that at this time.


Oh, that code!

Yes, it provides you with enough code to allow you to verify whether you truly want to change each of the instances that the utility finds. It's there as reference material, only.

Glad you've got it working.

Good luck,

Leon