[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode af61254 244/459: Fix off-by-one error for r
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode af61254 244/459: Fix off-by-one error for region directive comments |
Date: |
Sun, 22 Aug 2021 13:59:36 -0400 (EDT) |
branch: externals/csharp-mode
commit af612545e7a332b2728678c899a51cec9c433991
Author: Vasilij Schneidermann <mail@vasilij.de>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Fix off-by-one error for region directive comments
Closes #109
---
csharp-mode.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index 7cdae41..4ccee25 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -1157,7 +1157,9 @@ Currently handled:
(goto-char beg)
(while (re-search-forward "^\\s-*#\\(region\\|pragma\\) " end t)
(when (looking-at "\\w")
- (put-text-property (point) (1+ (point))
+ ;; mark the space separating the directive from the comment
+ ;; text as comment starter to allow correct word movement
+ (put-text-property (1- (point)) (point)
'syntax-table (string-to-syntax "< b"))))))
;; C# does generics. Setting this to t tells the parser to put
- [elpa] externals/csharp-mode 795b9bb 301/459: Merge pull request #168 from josteink/relicense, (continued)
- [elpa] externals/csharp-mode 795b9bb 301/459: Merge pull request #168 from josteink/relicense, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3fc339e 310/459: Add fontification to functions, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3526396 305/459: Remove before/after functions, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode dbbd17a 312/459: Merge pull request #171 from josteink/fontification-lighter, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7a41dad 318/459: Add attributes to indentation-tests, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f46d656 321/459: Fix indentation in one defconst, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 49d8392 323/459: Add nullable operator to concatenated identifiers, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2ee53e4 234/459: Fix some easy checkdoc errors., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 309e2c8 238/459: Create failing test-case., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode cef0d90 243/459: Don't override user's customizations., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode af61254 244/459: Fix off-by-one error for region directive comments,
ELPA Syncer <=
- [elpa] externals/csharp-mode 4b3d6f8 247/459: More region comment fixes., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b20e65f 249/459: communicate default style safely (#118), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 29dab33 255/459: Silence warning in compatibility-shim., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0481983 264/459: Fix indentation behaviour of preprocessor statements., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4babfff 265/459: Merge branch 'preproc-indentation', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 8100976 267/459: Fix fontification of unsafe methods., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 68a8a69 270/459: Fixed enum indentation level., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0825112 276/459: Fix CI-error on Emacs 25.x, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode d537cfa 271/459: Add test-case for Enum-indentation., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 981ff38 275/459: Make it easier to reproduce CI errors locally., ELPA Syncer, 2021/08/22