Description
Setup:
- Have a tablet pointing device instead of a mouse
- Open Arduino IDE and any code sketch in it
- Double-click (double tap with pen) any word in the IDE
Expected behavior:
- Whole word gets selected
Encountered behavior:
- Word gets selected not in full, but only from its first letter to the cursor
Hardware "mouse" device - Wacom Tablet
Latest version tested on - 1.8.9
Description:
I'm using a Wacom Tablet instead of a mouse and "double-click to select a word in the IDE" does not work nice for me.
Tablets have this "thing" that when you click (double tap with pen) the cursor jumps 1-2px around (due the grip and motion of the pen tip not being perfectly vertical). This seems to be caused/related by the issue #824 where it starts to select the word on "double-click and drag".
Proposed solutions:
A. Allow for small 2px cursor jitter before the "double-click and drag" word selection starts (and possibly other similar "double-click and something" features)
B. Same as A, but do it only if there's a tablet pointing device detected
C. Allow to turn off the "double-click and drag" from IDE options