[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 1a5f016740 032/431: blank line bars: correc
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 1a5f016740 032/431: blank line bars: correctly mark final line bars |
Date: |
Mon, 16 Sep 2024 12:59:10 -0400 (EDT) |
branch: externals/indent-bars
commit 1a5f01674046e244e6b20e8af0819d213d8648be
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
blank line bars: correctly mark final line bars
---
indent-bars.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/indent-bars.el b/indent-bars.el
index 4673f71094..2625fe92ad 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -480,8 +480,7 @@ font-lock properties."
"Shift number NUM of W bits up by N bits, carrying around to the low bits.
N should be strictly less than W and the returned value will fit
within W bits."
- (logand (indent-bars--block w)
- (logior (ash num n) (ash num (- n w)))))
+ (logand (indent-bars--block w) (logior (ash num n) (ash num (- n w)))))
(defun indent-bars--row-data (w pad rot width-frac)
"Calculate stipple row data to fit in character of width W.
@@ -635,12 +634,14 @@ OBJ, otherwise in the buffer."
(unless (bolp) (beginning-of-line 2)) ; spaces at end don't count
(if (< (point) font-lock-beg)
(setq changed t font-lock-beg (point)))))
- (goto-char font-lock-end)
- (if (> (skip-chars-forward chars) 0)
- (setq changed t font-lock-end (point)))
+ (unless (eq font-lock-end (point-max))
+ (goto-char (1+ font-lock-end))
+ (when (> (skip-chars-forward chars) 0)
+ ;; (unless (eolp) (beginning-of-line 0))
+ (if (> (point) font-lock-end)
+ (setq changed t font-lock-end (point)))))
changed))
-
(defun indent-bars--handle-blank-lines ()
"Display the appropriate bars on regions of one or more blank-only lines.
Only called by font-lock if `indent-bars-display-on-blank-lines'
- [elpa] externals/indent-bars 0500330d87 070/431: README: mention after-make-frame-hook, (continued)
- [elpa] externals/indent-bars 0500330d87 070/431: README: mention after-make-frame-hook, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 6e33272206 086/431: Ensure daemon-mode deferred setup runs in current buffer, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 21b84f400d 079/431: README: improvments and describe new non-stipple display options, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 213033e60e 100/431: Allow :blend by itself for current depth, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars be6a67cda4 093/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 4501c7e884 119/431: ts-lang -> ts-parser: cache parser instead of lang, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 026ee80a27 028/431: commentary: improve, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars ca9b1a630f 035/431: setup: slight re-org, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 1215185bfb 033/431: draw: return object (if any), ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 00c4e12bbd 036/431: allow highlighting single blank lines, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 1a5f016740 032/431: blank line bars: correctly mark final line bars,
ELPA Syncer <=
- [elpa] externals/indent-bars 5f5dd86810 034/431: always resize stipple on setup, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 931bf08cb2 045/431: Examples: add default, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c534bb5b5d 056/431: Minor README tweak, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars a9381135ff 051/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 9f03b2183b 055/431: Require compat, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 1cd0c30ba3 049/431: Tweaks to README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 628d42f204 072/431: Defer setup when running under daemon and remove from README, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 568ec43b0e 109/431: Correct quote in docstring to silence compiler, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 90e5616e8b 117/431: Handle tree-sitter configured but not available in buffer, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 57183c26e6 114/431: highlight-current-depth: guard against missing current-depth, ELPA Syncer, 2024/09/16