Hi,
Just been doing quite a few Find & Replaces on some JavaScript files, not that the type of file makes a difference.
Been using the "Selected Text" scope option to do 3 or 4 replaces in each section in each file.
What is annoying is that after clicking "Replace All" not only is the selected text no longer selected, but also the scope returns to "Current Document"
This got very tedious to keep re-selecting the text and re-selecting the scope option.
It should remember the state & selected text, just like my other editor does, which I usually end up doing Find & Replaces in anyway rather than WeBuilder!
Find & Replace annoyance
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Re: Find & Replace annoyance
Yes, you are right and I have noticed this before. The FIND dialog can do with some improving, though I resisted the temptation to write here because what is intuitive to me is probably not for someone else, and this is the problem (I think). I like the fade out thing, but it would be really nice to remember the last settings (even, like Word the word or phrase used) for multiple uses. By the looks of it, the FIND function looks at whatever is immediately beneath the cursor and loads that into the 'Search For' field. This in itself is handy too, but I would like to see this improved to load only a selected word or phrase, and then when the dialog is opened again, to have that phrase or word already loaded, unless other text has been selected of course.
Another thing that 'resets' is the FTP file download dialog. If I click on the FTP tab, connect to my server, right click on a file and select 'Download files', the dialog that opens for me to browse to a local folder always 'resets' to 'My Computer', where I then have to navigate away from to find my actual download folder, which in my practice is usually the project folder. I would like an option to 'remember' the last selected download directory or at least to by default open the project directory. When working with a project, and files are being up and downloaded all the time, it makes sense to remember the last used directory. Little things like that can make this editor tower even more above the competition.
Perhaps this should be in Feature Requests - Mods please feel free to move it if required.
Dave.
Another thing that 'resets' is the FTP file download dialog. If I click on the FTP tab, connect to my server, right click on a file and select 'Download files', the dialog that opens for me to browse to a local folder always 'resets' to 'My Computer', where I then have to navigate away from to find my actual download folder, which in my practice is usually the project folder. I would like an option to 'remember' the last selected download directory or at least to by default open the project directory. When working with a project, and files are being up and downloaded all the time, it makes sense to remember the last used directory. Little things like that can make this editor tower even more above the competition.
Perhaps this should be in Feature Requests - Mods please feel free to move it if required.
Dave.
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
Re: Find & Replace annoyance
This thread is hovering more towards 'feature requests' than 'support'...
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
Re: Find & Replace annoyance
moved to requests.
It's been requested before (by me I believe!). I dunno where it's at on that ever growing list of feature requests. :)
I think I understand why it doesn't maintain the selection - the editor is actually changing the contents of the selection so the original "selection" doesn't really exist anymore. Seems like remembering the line/column number of the start and end of the selection and than "reselecting" that after the search might be a way to do it. More troubling is that "find in selection" gets reset right away - even if you haven't closed the find dialog. It's easy to forget that it is now going to find/replace in the entire document one you do the next search.
It's been requested before (by me I believe!). I dunno where it's at on that ever growing list of feature requests. :)
I think I understand why it doesn't maintain the selection - the editor is actually changing the contents of the selection so the original "selection" doesn't really exist anymore. Seems like remembering the line/column number of the start and end of the selection and than "reselecting" that after the search might be a way to do it. More troubling is that "find in selection" gets reset right away - even if you haven't closed the find dialog. It's easy to forget that it is now going to find/replace in the entire document one you do the next search.
Re: Find & Replace annoyance
Yes, I can see what you're saying.syrupcore wrote:I think I understand why it doesn't maintain the selection - the editor is actually changing the contents of the selection so the original "selection" doesn't really exist anymore.
Just tested in two other programming/web text editors I have installed (but no longer really use) and they both remember the selected text between replaces.
Exactly, this is more troublesome, as a number of times I forgot to re-select the "Selected text" option and of course the whole document was changed, which is not what I wanted.syrupcore wrote:More troubling is that "find in selection" gets reset right away - even if you haven't closed the find dialog. It's easy to forget that it is now going to find/replace in the entire document one you do the next search.
But could the option is re-setting itself because there is no longer any text selected?
Okay, just spotted as "odd" thing!
If I open the Find & Replace box, select "Selected text" and then close the box without doing any Find or replace then the option IS remembered next time. So is "All open documents"
Re: Find & Replace annoyance
Hi,
We will try to fix both issues discussed here.
We will try to fix both issues discussed here.
Text selection will be kept, and also "Scope" will not change.What is annoying is that after clicking "Replace All" not only is the selected text no longer selected, but also the scope returns to "Current Document"
Kind regards,
Gatis Avots
Gatis Avots