Commit f44dd7f
committed
Treat small selections as clicks in editor
Change click handler to bail for any non-trivial selection (>3 chars) instead of only multi-line selections. Small selections (<4 chars) from slight mouse movement are now treated as clicks and corrected. Comments updated to clarify behavior and note that list normalization also collapses accidental small selections in the marker area.1 parent 15a50f6 commit f44dd7f
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
485 | | - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
486 | 489 | | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
| 490 | + | |
| 491 | + | |
493 | 492 | | |
494 | 493 | | |
495 | 494 | | |
| |||
0 commit comments