mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Enable dragging resizing final column in vtable
* lisp/emacs-lisp/vtable.el (vtable--insert-line): Insert the divider after the final column, too, so that the size can be dragged.
This commit is contained in:
parent
8e464272bd
commit
2d4c5f0b85
1 changed files with 2 additions and 3 deletions
|
|
@ -522,8 +522,7 @@ This also updates the displayed table."
|
|||
ellipsis)
|
||||
value))))
|
||||
(start (point))
|
||||
;; Don't insert the separator and the divider after the
|
||||
;; final column.
|
||||
;; Don't insert the separator after the final column.
|
||||
(last (= index (- (length line) 2))))
|
||||
(if (eq (vtable-column-align column) 'left)
|
||||
(progn
|
||||
|
|
@ -552,7 +551,7 @@ This also updates the displayed table."
|
|||
(add-face-text-property
|
||||
start (point)
|
||||
(elt column-colors (mod index (length column-colors)))))
|
||||
(when (and divider (not last))
|
||||
(when divider
|
||||
(insert divider)
|
||||
(setq start (point))))))
|
||||
(cdr line))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue