Find & Replace annoyance

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
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".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Find & Replace annoyance

Post by MikeyB »

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!
davenz

Re: Find & Replace annoyance

Post by davenz »

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.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: Find & Replace annoyance

Post by chrisjlocke »

This thread is hovering more towards 'feature requests' than 'support'...
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Find & Replace annoyance

Post by syrupcore »

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.
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: Find & Replace annoyance

Post by MikeyB »

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.
Yes, I can see what you're saying.
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.
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.
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.
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"
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Find & Replace annoyance

Post by Gatis »

Hi,
We will try to fix both issues discussed here.
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"
Text selection will be kept, and also "Scope" will not change.
Kind regards,
Gatis Avots
Post Reply