While recently experimenting with the new HTML5 web storage methods I inadvertently fell victim to a glitch with the Find and Replace utility in the HTML Editor.
I did a Find and Replace to find any references to "sessionStorage" when used as a web storage method, and replace it with "localStorage". I don't know about you, but due to a really bad experience with the "Replace All" option years ago in Microsoft Word, I always do an initial "Find" and then selectively do a "Replace" if the currently highlighted occurrence of the find meets the overall criteria for replacement. So, this is how I performed the find and replace procedure.
I had a number of pages open at the time, and I was going back and forth among a number of them. I became distracted, and I ended up closing all the open pages. No problem. I already had FileZilla open and showing my test site, so I then used FileZilla to upload my test pages to the server. When I tested my editing change, it still didn't work, and I thought it sure SHOULD have worked. Luckily, I took a look at the code of the displayed document, and it didn't include the changes I had just made to the pages. I then cleared the browser history and tried it again...same problem.
Here's what happened. When using Find and Replace in the manner described above, the HTML editor does not flag the page's (bottom) tab with an asterisk, like it normally does whenever anything changes in the document. Consequently, when I got distracted and closed all the open documents, I was not prompted to save my changes in the one test document. Consequently, when I uploaded what I thought were the new versions to the server, in fact I merely uploaded the old unedited versions.
This odd behaviour occurs ONLY when you do the individual Finds and then use Replace. If you use the potentially dangerous Replace All option, the document's tab IS properly flagged with the asterisk, and you are subsequently asked if you want to save the document when you go to close it.
So, until CC corrects this glitch, you should get in the habit of manually saving your document whenever you use Find and Replace.
Dick Raymond
Glitch with Find and Replace
I can confirm this, happens to me too.
Windows 7 Ultimate
Windows 7 Ultimate
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.