Menu

#521 Focus the text area when scroll bar is clicked

None
closed-accepted
None
5
2014-04-06
2014-03-30
No

I'd like more ways of focusing the text area without changing the location of the caret. In Visual Studio, clicking any place in a pane will focus the main component in that pane. For example, you can click an empty spot in a toolbar in a sidebar, and it will focus the sidebar's tree or whatever. The attached patch is similar as it causes clicking a text area's scroll bar to focus the text area.

It might be nice if the same thing worked for the project viewer and other scrollable components, but that is harder to change and I have never really cared.

This patch requires JDK 1.7, so it shouldn't be applied while jEdit supports 1.6.

1 Attachments

Discussion

  • Alan Ezust

    Alan Ezust - 2014-03-30
    • assigned_to: Alan Ezust
    • Group: -->
     
  • Alan Ezust

    Alan Ezust - 2014-04-06
    • status: open --> closed-accepted
     
  • Alan Ezust

    Alan Ezust - 2014-04-06

    Committed 23461. I agree with you 100%
    Thank you for your contribution.

     

Log in to post a comment.

MongoDB Logo MongoDB