Menu

#46 Find should center the selection in the window

open
nobody
None
7
2003-04-15
2003-04-11
No

This is more a feature request than a bug report. It
would be nice if find/find all/etc centered the
selection in the window, instead of positioning it a
few lines above the bottom/below the top.

Even better would be for this to be a configurable
option. Maybe it already is, but it's just hidden from
view.

Discussion

  • Romain Guy

    Romain Guy - 2003-04-15

    Logged In: YES
    user_id=6845

    That is a good idea. But the thing is that the find window
    itself is often at the center of the window. It wouldn't be
    very helpful to show the find result behind the find window
    I guess.

     
  • Christopher Heiny

    Logged In: YES
    user_id=117164

    Well, I would argue the following:
    - the find window can be moved away from the center of the
    screen (in fact, this is what I usually do anyway, because
    having the find window in the middle of where I'm trying to
    edit is even worse than having a stinging insect in the
    middle of your beer (and that's pretty bad))
    - FindAll and the find bar do not obscure anything, and they
    still have the position at the top/bottom problem.

     
  • Paolo

    Paolo - 2003-04-15
    • priority: 5 --> 7
     
  • Paolo

    Paolo - 2003-04-15

    Logged In: YES
    user_id=563712

    When you move down, there is an autoscroll function that
    makes position go a few lines "above the bottom/below the
    top". This is called Electric Scroll in sources, and could
    be extended for this: you should at least try to increase
    the value of it in the option(I don't remember the exact
    text), but it works even when you move your cursor. Or maybe
    a simple option to add from that code.

     

Log in to post a comment.

MongoDB Logo MongoDB