|
From: | martin rudalics |
Subject: | Re: double-clicking on closing paren - wrong region marked |
Date: | Mon, 12 Mar 2007 00:06:47 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
>>What do you think it should do in such a case, >>where scrolling happens validly and correctly >>(and you expected it) >>while mouse-1 is held down? > > > If mouse did not move? A click. For a click you have to find a POS-OR-AREA: This is the buffer position of the character clicked on in the text area ... Which buffer position would you choose for POS-OR-AREA? The one before the scroll or the one after? By definition it must be a drag: A "drag event" happens every time the user presses a mouse button and then moves the mouse to a different character position before releasing the button. Where "moves" does not necessarily refer to moving the mouse on the pad or the mouse pointer on the screen.
[Prev in Thread] | Current Thread | [Next in Thread] |