replace all - Post ID 239269

User 40595 Photo


Registered User
3 posts

Bug? When I perform a replace all across multiple open documents, this function is consistently missing at least 10% of the replacements it is supposed to make. There seems to be no pattern, just randomly missed documents. A star appears, indicating a file has been edited, when in fact it has not. This is very, very frustrating, as I then have to manually inspect each file for the changes. When I do that, I might just as well have made the changes manually in the first place. I like the editor a lot except for this. (Wish list: I wish it had a built-in basic ColdFusion code inspector that could check to ensure that all <CFIF> tags had closing </CFIF> tags, and vice versa. Just basic stuff like that -- nothing fancy.)
User 103173 Photo


VP of Software Development
0 posts

Where are your documents located? Are the on the main C drive or a network drive?
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 122279 Photo


Senior Advisor
14,550 posts

Robert, I don't know if this might be the case here, but the find-replace tool treats something on one line differently from if it is on two lines (e.g. <div class="whatever"> is treated differently from
<div
class="whatever">).
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 40595 Photo


Registered User
3 posts

On the C drive, short strings, all on the same line.

Robert
User 40595 Photo


Registered User
3 posts

Hi - Here is an example of the string I am attempting to find and replace across multiple open files:

Change:
<cfinclude template="../templates/cc_page_header_util.cfm">

To:
<cfinclude template="../templates/cc_page_header.cfm">

It consistently misses the change on around 10% of the open documents (I did click All Open Documents), but creates an asterisk on the tab next to the filename as if it had actually edited the file.
User 187934 Photo


Senior Advisor
20,242 posts

Let me try a few things. I was using the replace feature the other night and was having some anomalies but I thought it was me.:lol:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.