ErikPettersson / moonshineproject

Automatically exported from code.google.com/p/moonshineproject
0 stars 0 forks source link

Trying to mouse-wheel scroll while selecting text doesn't update selection #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Mousedown over text
2. Scroll using mousewheel

Text doesn't get selected. If you move the mouse it'll update the selection.
Need to update selection while mousewheel scrollingz.

Original issue reported on code.google.com by petterson.erik@gmail.com on 24 Sep 2010 at 12:58

GoogleCodeExporter commented 8 years ago
This is actually common behavior among other editors (Visual C#, OpenOffice 
Writer, EditPlus all exhibit this behavior). The only editor I found that does 
update selection when wheeling is FlashDevelop, and it does that with an 
awkward delay.

Not sure whether we want to follow common behavior here or roll our own. Fixing 
this would just be a matter of hooking the mouse-move handler to the 
mouse-wheel event.

Original comment by t.br...@gmail.com on 25 Sep 2010 at 1:23

GoogleCodeExporter commented 8 years ago
Hmm, there might be a point in not having it update (so you can get your 
bearings? Not sure). 
On the other hand, if you don't want to select text, how about you don't hold 
the mouse button down.

I say we update, since the user is telling us to update (mouse is down).

Original comment by petterson.erik@gmail.com on 26 Sep 2010 at 1:23

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r800.

Original comment by t.br...@gmail.com on 24 Dec 2010 at 2:03