[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 4b3d6f8 247/459: More region comment fixes.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 4b3d6f8 247/459: More region comment fixes. |
Date: |
Sun, 22 Aug 2021 13:59:37 -0400 (EDT) |
branch: externals/csharp-mode
commit 4b3d6f82d7773ed52582d0eabf8bd67d7e4c0f86
Author: Tim Van Holder <tim.vanholder@leeloo.anubex.internal>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
More region comment fixes.
Region comments don't need to be separated from the directive by a single
space - any (non-zero) amount of whitespace is fine.
Region comments don't need to start with a word.
---
csharp-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index 1938a05..204d2a9 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -1155,9 +1155,9 @@ Currently handled:
(setq done t)))))))))
(goto-char beg)
- (while (re-search-forward "^\\s *#\\s *\\(region\\|pragma\\) " end t)
- (when (looking-at "\\w")
- ;; mark the space separating the directive from the comment
+ (while (re-search-forward "^\\s *#\\s *\\(region\\|pragma\\)\\s " end t)
+ (when (looking-at "\\s *\\S ")
+ ;; mark the whitespace 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"))))))
- [elpa] externals/csharp-mode 3fc339e 310/459: Add fontification to functions, (continued)
- [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, 2021/08/22
- [elpa] externals/csharp-mode 4b3d6f8 247/459: More region comment fixes.,
ELPA Syncer <=
- [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
- [elpa] externals/csharp-mode 274dd88 273/459: Update CI-settings, ELPA Syncer, 2021/08/22