[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/valign fc591d8 129/198: * valign.el (valign-table-1): C
From: |
Stefan Monnier |
Subject: |
[elpa] externals/valign fc591d8 129/198: * valign.el (valign-table-1): Clear overlay before measuring table. |
Date: |
Tue, 1 Dec 2020 18:19:32 -0500 (EST) |
branch: externals/valign
commit fc591d89856d65170e60523494697aa5b89b09df
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
* valign.el (valign-table-1): Clear overlay before measuring table.
---
valign.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/valign.el b/valign.el
index f2e3242..d31cbea 100644
--- a/valign.el
+++ b/valign.el
@@ -455,12 +455,13 @@ You need to restart valign mode for this setting to take
effect."
(valign--pixel-width-from-to
(match-beginning 0) (match-end 0))))
(table-end (save-excursion (valign--end-of-table) (point)))
+ ;; Very hacky, but..
+ (_ (valign--clean-text-property (point) table-end))
(column-width-list (valign--calculate-cell-width table-end))
(column-alignment-list (valign--calculate-alignment
(valign--guess-table-type) table-end))
row-idx column-idx column-start)
(ignore row-idx)
- (valign--clean-text-property (point) table-end)
;; Start alignment.
(valign--do-row row-idx table-end
- [elpa] externals/valign 7b581e0 072/198: Remove valign-werid-alignment error, (continued)
- [elpa] externals/valign 7b581e0 072/198: Remove valign-werid-alignment error, Stefan Monnier, 2020/12/01
- [elpa] externals/valign f6d60d2 078/198: Merge two implementations for valign--align-separator-row, Stefan Monnier, 2020/12/01
- [elpa] externals/valign e9975b7 083/198: Use new text size calculation, Stefan Monnier, 2020/12/01
- [elpa] externals/valign e32d191 079/198: Valign-table refactor, Stefan Monnier, 2020/12/01
- [elpa] externals/valign 21a397a 092/198: Update README, Stefan Monnier, 2020/12/01
- [elpa] externals/valign 4ecc990 093/198: * valign.el (valign--table-face): Fix markdown-mode., Stefan Monnier, 2020/12/01
- [elpa] externals/valign c4ddfb3 095/198: Fix org-flag-region advice, Stefan Monnier, 2020/12/01
- [elpa] externals/valign 7529ddd 111/198: Revert "* valign.el (valign-table): Tuck in some long lines.", Stefan Monnier, 2020/12/01
- [elpa] externals/valign 97beef8 127/198: Remove valign-table-quiet, Stefan Monnier, 2020/12/01
- [elpa] externals/valign 1412fef 133/198: * valign.el (valign-table): Suppress search errors., Stefan Monnier, 2020/12/01
- [elpa] externals/valign fc591d8 129/198: * valign.el (valign-table-1): Clear overlay before measuring table.,
Stefan Monnier <=
- [elpa] externals/valign c5eb220 108/198: Remove valign--face-attribute, Stefan Monnier, 2020/12/01
- [elpa] externals/valign ed8dd50 118/198: Remove obsolete functions, Stefan Monnier, 2020/12/01
- [elpa] externals/valign ced2f6a 132/198: * valign.el (valign-table-1): Fix search term., Stefan Monnier, 2020/12/01
- [elpa] externals/valign c70c64e 125/198: * valign.el (valign--clean-text-property): Remove code using 'text-property-search-forward'., Stefan Monnier, 2020/12/01
- [elpa] externals/valign 645260f 076/198: * valign.el (valign-table): Allow edebug., Stefan Monnier, 2020/12/01
- [elpa] externals/valign 82566b3 080/198: Fix tab calculation, Stefan Monnier, 2020/12/01
- [elpa] externals/valign 6578fe4 081/198: * valign.el (valign-table): Don’t message errors., Stefan Monnier, 2020/12/01
- [elpa] externals/valign e2a2a85 085/198: Rework hooks, Stefan Monnier, 2020/12/01
- [elpa] externals/valign 44651e9 086/198: * valign.el (valign-mode): Change text-scale hooks., Stefan Monnier, 2020/12/01
- [elpa] externals/valign 8b6ce8c 084/198: * valign.el (valign--cell-width): Minor change., Stefan Monnier, 2020/12/01