Menu

#539 Move search&replace popup if overlapping active text area

none
closed-rejected
nobody
5
2017-10-28
2017-10-25
No

Working with split view its sometimes necessary to switch between text areas often, search and compare two or more files opened at the same time (i.e. doing code review).

Very often a view is split vertically (I think on wide screen this is the most common case) so we have one area on the left and another one on the right.

SR popup is openning at the same position it was before close. It's very annoying when the popup overlaps one of the areas, while its necessary to make search one the left side then on the right and so on.

That would be awesome if SR popup could move itself at least horizontally in the case described above depending on active textarea. As I remember, MS Office has similar feature which can be an example for more complex cases as jEdit can be split in many ways and areas.

Pls also keep in mind multidisplay environment.

Discussion

  • Dale Anson

    Dale Anson - 2017-10-27

    Personally, I'd vote against this. It's not a bad idea, but since the dialog always opens in the same place you last left it, it seems to me it would be just as easy to move it somewhere not over the text areas in the first place. I tend to have several things docked on the right, and I usually just put the search and replace dialog over that area.

     
  • Roman Tsourick

    Roman Tsourick - 2017-10-28

    The problem is every time I need to move it I have to move my hand off the keyboard to mouse and back. I usually keep docks closed especially when the view is split so that does not eat space.

    Actually, I am talking about a facility which enables simple text search using keyboard and does not overlap textareas. It could be SR popup moving itself or, for example, small rolldown tag-like text field at the top or single line bar like intellij idea shows on ctrl+f... That would be even better. I will open a new ticket as soon as we state the goal.

    It may be that I am not aware of a particular plugin or macro which jEdit already has for that.

     
  • Skeeve

    Skeeve - 2017-10-28
    1. You can use the Hyper Search Bar or the Incremental Search Bar
    2. Would it help the Search dialog would be dockable?

    I personally think #2 is a good idea

     
  • Dale Anson

    Dale Anson - 2017-10-28

    Check the help files for the search bar. I think that might be what you're looking for

     
  • Roman Tsourick

    Roman Tsourick - 2017-10-28

    Yes, indeed! Thank you guys.

    Regarding dockable SR, it will eat too much space, not applicable in my case. While the idea itself looks good, but I suppose it will require to re-design layout totally as the one it has expects quite wide popup and does not shrink well.

     
  • Roman Tsourick

    Roman Tsourick - 2017-10-28
    • status: open --> closed-rejected
     

Log in to post a comment.