Menu

#493 Improve the Find bar

open
nobody
5
2010-11-01
2010-10-29
No

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.

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2010-10-29
    • status: open --> pending
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-10-29

    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?

     
  • Aneil Mallavarapu

    • status: pending --> open
     
  • Aneil Mallavarapu

    If the cursor position issue and the delete-button behavior were fixed, I think that would do the trick.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-11-01

    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.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-11-01
    • status: open --> pending
     
  • Aneil Mallavarapu

    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.

     
  • Aneil Mallavarapu

    • status: pending --> open
     
  • Aneil Mallavarapu

    There may be a misunderstanding:
    "Delete" on Mac = "Backspace" on PC

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-11-01
    • status: open --> pending
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-11-01

    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).

     
  • Aneil Mallavarapu

    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.

     
  • Aneil Mallavarapu

    • status: pending --> open
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-11-01

    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

     
  • Aneil Mallavarapu

    Issue resolved: getting rid of the key binding of <delete> to "delete previous" solved the problem.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.