[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hideshowvis e48500ef9f 14/20: Fix interaction with indent-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hideshowvis e48500ef9f 14/20: Fix interaction with indent-region |
Date: |
Sat, 15 Jun 2024 10:00:29 -0400 (EDT) |
branch: elpa/hideshowvis
commit e48500ef9f569d597b87be172a6dbe32ad8876a8
Author: Jan Rehders <nospam@sheijk.net>
Commit: Jan Rehders <nospam@sheijk.net>
Fix interaction with indent-region
Fixes #8 on Github
---
hideshowvis.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/hideshowvis.el b/hideshowvis.el
index cc2928cd9b..d0669dce74 100644
--- a/hideshowvis.el
+++ b/hideshowvis.el
@@ -259,16 +259,15 @@ overwrite anything you've set there."
(when (eq 'code (overlay-get ov 'hs))
(let* ((marker-string "*fringe-dummy*")
(marker-length (length marker-string))
- (display-string (format "(%d)..." (count-lines (overlay-start ov)
(overlay-end ov))))
- )
+ (display-string (format "%d lines" (count-lines (overlay-start
ov) (overlay-end ov)))))
(overlay-put ov 'help-echo "Hiddent text. C-c,= to show")
(put-text-property 0 marker-length 'display
(list 'left-fringe 'hideshowvis-hidden-marker
'hideshowvis-hidden-fringe-face)
marker-string)
(overlay-put ov 'before-string marker-string)
(put-text-property 0 (length display-string) 'face
'hideshowvis-hidden-region-face display-string)
- (overlay-put ov 'display display-string))))
-
+ (overlay-put ov 'after-string display-string))))
+
(setq hs-set-up-overlay 'hideshowvis-display-code-line-counts))
(provide 'hideshowvis)
- [nongnu] elpa/hideshowvis 2474bb3175 07/20: v0.6, (continued)
- [nongnu] elpa/hideshowvis 2474bb3175 07/20: v0.6, ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis 3a5cd08c4f 10/20: Fixed version constant., ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis c2ab91bd77 18/20: Fix interaction with auto-revert-mode., ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis 7b174241c9 15/20: fix: Check hideshowvis-ignore-same-line before making overlay., ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis 136d94e8f1 08/20: Updated readme, ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis 3a605b78d8 20/20: Applied code review comments by Philip Kaludercic, ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis 234cd37e00 06/20: v0.5, ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis 064b6bb1b5 09/20: Updated readme and doc., ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis e313c9ea78 11/20: v0.7, ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis 614e856620 12/20: Update copyright and mail, ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis e48500ef9f 14/20: Fix interaction with indent-region,
ELPA Syncer <=
- [nongnu] elpa/hideshowvis 9ae59d8576 16/20: Update contributors list, ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis 33e693dc60 19/20: Add docstrings and fix warnings, add v0.8 release notes, ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis 8570f58ed3 13/20: Whitespace fix, ELPA Syncer, 2024/06/15
- [nongnu] elpa/hideshowvis eef0603fb9 17/20: Move hideshowvis-symbols helpers to toplevel, ELPA Syncer, 2024/06/15