emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode 1f292eb 141/459: Fixed fontification hangin


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 1f292eb 141/459: Fixed fontification hanging on a large file (3kLOC).
Date: Sun, 22 Aug 2021 13:59:14 -0400 (EDT)

branch: externals/csharp-mode
commit 1f292eb8c13fd04191b1a98a99a19499130d8cbf
Author: Shawn Hoover <shawn@xia.com>
Commit: Shawn Hoover <shawn@xia.com>

    Fixed fontification hanging on a large file (3kLOC).
---
 csharp-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 15cda83..134a035 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -1486,7 +1486,7 @@ Most other csharp functions are not instrumented.
          "\\([[:alpha:]_][^\t\(\n]+\\)"               ;; 2. return type - 
possibly generic
          "[ \t\n\r\f\v]+"
          "\\([[:alpha:]_][[:alnum:]_]*"               ;; 3. begin name of func
-         "\\(?:<\\(?:[[:alpha:]][[:alnum:]]*[, ]?\\)*>\\)?"  ;; (with optional 
generic type parameter(s)
+         "\\(?:<\\(?:[[:alpha:]][[:alnum:]]*\\)\\(?:[, 
]+[[:alpha:]][[:alnum:]]*\\)*>\\)?"  ;; (with optional generic type parameter(s)
          "\\)"                                        ;; 3. end of name of func
          "[ \t\n\r\f\v]*"
          "\\(\([^\)]*\)\\)"                           ;; 4. params w/parens



reply via email to

[Prev in Thread] Current Thread [Next in Thread]