diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2019-11-30 11:37:04 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2019-11-30 22:43:00 +0100 |
commit | 293eb3259883c0b8465926a850b9ca7131e70074 (patch) | |
tree | 876864be00f489aa63cc4f5df3e794344b4043df /lisp/emacs-lisp/cl-indent.el | |
parent | dfbbbf319e4e357c82a79944090c949f3c5299c3 (diff) | |
download | emacs-293eb3259883c0b8465926a850b9ca7131e70074.tar.gz emacs-293eb3259883c0b8465926a850b9ca7131e70074.tar.bz2 emacs-293eb3259883c0b8465926a850b9ca7131e70074.zip |
Improved mouse rectangle selection robustness (bug#38013)
Make the rectangular selection work better with
display-line-numbers-mode and side-by-side windows.
Also make the mouse track the text cursor in a consistent way.
* lisp/mouse.el (mouse--rectangle-track-cursor): Added constant.
(mouse-drag-region-rectangle): Take the line-number width into
account, and use window-relative columns. Track either the cursor or
rectangle corner with more care.
Diffstat (limited to 'lisp/emacs-lisp/cl-indent.el')
0 files changed, 0 insertions, 0 deletions