[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 33fb05c 213/459: imenu: Fix indexing of fie
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 33fb05c 213/459: imenu: Fix indexing of fields with _ in name. |
Date: |
Sun, 22 Aug 2021 13:59:29 -0400 (EDT) |
branch: externals/csharp-mode
commit 33fb05c1049e9d3b6db4aa72e27b9b7335b4dbe1
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
imenu: Fix indexing of fields with _ in name.
Add test-cases.
---
csharp-mode-tests.el | 3 ++-
csharp-mode.el | 2 +-
test-files/imenu-field-keyword-test.cs | 2 ++
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/csharp-mode-tests.el b/csharp-mode-tests.el
index 7399bd3..2420b62 100644
--- a/csharp-mode-tests.el
+++ b/csharp-mode-tests.el
@@ -227,7 +227,8 @@
"(field) TestBool"
"(field) CommentedField"
"(field) _MultiLineComment"
- "(field) VolatileTest")
+ "(field) VolatileTest"
+ "(field) m_Member")
(def-imenutest imenu-parsing-supports-method-keywords
"./test-files/imenu-method-test.cs"
diff --git a/csharp-mode.el b/csharp-mode.el
index 6e5f901..14c99f8 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -1779,7 +1779,7 @@ to the beginning of the prior namespace.
(basic-type (concat
;; typename
"\\(?:[A-Za-z_][[:alnum:]_]*\\.\\)*"
- "[A-Za-z_][[:alnum:]]*"
+ "[A-Za-z_][[:alnum:]_]*"
))
(type (concat
basic-type
diff --git a/test-files/imenu-field-keyword-test.cs
b/test-files/imenu-field-keyword-test.cs
index b7bd6b1..ea29fa8 100644
--- a/test-files/imenu-field-keyword-test.cs
+++ b/test-files/imenu-field-keyword-test.cs
@@ -14,4 +14,6 @@ public class FieldTestClass
new line */
internal volatile DateTime VolatileTest;
+
+ private static object m_Member;
}
- [elpa] externals/csharp-mode 0e333c3 090/459: fontify else, (continued)
- [elpa] externals/csharp-mode 0e333c3 090/459: fontify else, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f96cf8b 089/459: remove fontification of accessors and constructors, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode c097a34 093/459: add async as a function modifier, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode dd6c930 102/459: Merge pull request #43 from wasamasa/fix-major-mode-definition, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 55fe188 101/459: Use `define-derived-mode`, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3c6a4ea 096/459: Add info about customization to readme., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f80eace 098/459: Revert "Fix runtime warnings about obsolete Emacs-functions.", ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 43e7120 095/459: Merge remote-tracking branch 'less-colors', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode e22eb34 210/459: imenu: support nested generic return-types., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1d2ef53 212/459: Fix imenu-indexing of members with underscore in name., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 33fb05c 213/459: imenu: Fix indexing of fields with _ in name.,
ELPA Syncer <=
- [elpa] externals/csharp-mode 14bc3c6 215/459: Fix broken syntax-propertize., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2275dda 218/459: Properly document workaround for syntax-properties, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0183fc4 221/459: Prepare changelog for future bugs :), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0cd0b2c 226/459: Fix fontification of using-statements., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0d35431 228/459: Fix fontification of namespaces to match using-statement rules., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3c989a8 230/459: using: Don't mess up alnums in indentifier-fontification., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 5787aef 233/459: Update changelog., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 14e0327 235/459: Bump version and updated-date., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 5ca1702 236/459: Make csharp-mode-map inherit from prog-mode-map, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0f65654 245/459: Add regression test, ELPA Syncer, 2021/08/22