Improve the Find bar
Brought to you by:
fabioz
Is there a setting to turn off the find bar? It's a good idea in principle, but a few of its behaviors are annoying, and until these are worked out, it would be nice to go back to the default Eclipse find dialog.
Here's an example:
http://stackoverflow.com/questions/3814482/how-do-i-get-rid-of-the-eclipse-find-replace-bar
The behavior I really dislike is that hitting delete while in the input box of the find bar causes the found text to be deleted. This is really annoying, as I find myself inadvertently overwriting code with text I'm trying to search for.
You can press ctrl+F a second time to show it (although it's a bit annoying having to always press ctrl+F twice).
I believe adding an option would be easy -- but if that bug is fixed, would that be enough?
If the cursor position issue and the delete-button behavior were fixed, I think that would do the trick.
It hasn't become clear after testing it here what's exactly the case you're having problems with.
I thought it was:
ctrl+f > enter text > press enter > delete and it'd delete some text, but that seems to work well. Can you post in more detailed steps how to reproduce the problem (and how you think it should work)?
Thanks.
Thanks for looking into this.
Here's the sequence (using PyDev 1.6.3 / Helios on Mac):
1. Cmd+f
2. enter search text
(text is immediately found in the editor window)
3. delete
(found text in the editor window is deleted)
The key sequence you provided:
Cmd+f > enter search text > enter > delete
also deletes the editor text.
Note - this only works if the search text exists in the editor window.
*
I thought maybe this is a problem with my key bindings.
"Delete Previous" is bound to delete when "Editing Text". I played around with the "when" setting, but this didn't fix the problem.
There may be a misunderstanding:
"Delete" on Mac = "Backspace" on PC
I guess I'll have to get my hands on a Mac to reproduce this (the same thing on windows works for me). Another thing: does the same thing happen if you open a text file (you have to open it with the "text editor (aptana)" to have that search box).
Strangely I don't have the option to open as "Text Editor (Aptana)" - I only have "Text Editor". Maybe this hints at the problem?
I do have "Html Editor (Aptana)", "Javascript Editor (Aptana)" and others.
I opened as "Html Editor (Aptana)", and still have the same behavior.
Ok, can you report that to the Aptana Studio team at https://aptana.lighthouseapp.com/dashboard ? (as it happens in the html editor too).
Please add a reference to the bug reported in this one so that I can keep track of it too (I'd solve it here, but I know that some Aptana Studio team members work on Macs, so, I think it'll be easier for them to solve it).
Thanks,
Fabio
Issue resolved: getting rid of the key binding of <delete> to "delete previous" solved the problem.