distal-attribute
distal-attribute
distal-attribute
distal-attribute

Replacing text.

QuintusTasmanianDevil posted 11 months ago in General
I inserted an sql file (ctrl-O). It contains a number of references to my original database. I wanted to replace all references of the database name with, for example, fred999. I positioned the caret at the top of the sql text and opened the search and replace text dialog. I entered the text strings correctly. All tick box options are unchecked; the radio buttons are "Forward", "Entire scope" and "Global". I clicked Replace all.

For some reason, only the first string was replaced.

Am I doing something wrong?
kalvaro posted 11 months ago
It should work. Can you reproduce it always? Can you post a small sample?
ansgar posted 11 months ago
I think I can reproduce that. It makes no difference whether you click the "Replace" or "Replace all" button. Will check that.
QuintusTasmanianDevil posted 11 months ago
Thank you guys. I have a sample script if you want to test it on but I'm reasonably sure anything will do. I have two screenshots which I can't upload but I can email them if you would like some visual evidence. Anyway, it seems it has been mostly confirmed so I'll wait for your feedback.
ansgar posted 11 months ago
Fixed in r4654.

Looks like that was never working before, since I have created that dialog in February 2010. Odd...

QuintusTasmanianDevil posted 11 months ago
Installed 4645. Search and replace works okay now.
QuintusTasmanianDevil posted 11 months ago
Sorry, I meant 4654.

Please login to leave a reply, or register at first.