[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode d7ba765 063/459: Merge changes from devel.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode d7ba765 063/459: Merge changes from devel. |
Date: |
Sun, 22 Aug 2021 13:58:57 -0400 (EDT) |
branch: externals/csharp-mode
commit d7ba765cfcbf5c0a504e41f7be6987f5bdc6dda2
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Merge changes from devel.
---
csharp-mode.el | 63 ++--------------------------------------------------------
1 file changed, 2 insertions(+), 61 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index b29439a..9d904ad 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -347,11 +347,6 @@
;;(error (byte-compile-dest-file))
;;(error (c-get-current-file))
- (defconst csharp-aspnet-directive-re
- "<%@.+?%>"
- "Regex for matching directive blocks in ASP.NET files (.aspx, .ashx,
.ascx)")
-
-
(defconst csharp-enum-decl-re
(concat
"\\<enum[ \t\n\r\f\v]+"
@@ -413,16 +408,12 @@ A vsemi appears in 3 cases in C#:
- in an object initializer, before the open-curly?
- - after an ASPNET directive, that appears in a aspx/ashx/ascx file
+ - after an ASPNET directive, that appears in a aspx/ashx/ascx file (not
supported)
An example of the former is [WebMethod] or [XmlElement].
-An example of the latter is something like this:
-
- <%@ WebHandler Language=\"C#\" Class=\"Handler\" %>
Providing this function allows the indenting in csharp-mode
-to work properly with code that includes attributes and ASPNET
-directives.
+to work properly with code that includes attributes.
"
(save-excursion
@@ -438,11 +429,6 @@ directives.
(looking-at "[ \t\n\f\v\r]*{"))
t)
- ;; put a vsemi after an ASPNET directive, like
- ;; <%@ WebHandler Language="C#" Class="Handler" %>
- ((looking-back (concat csharp-aspnet-directive-re "$") nil t)
- t)
-
;; put a vsemi after an attribute, as with
;; [XmlElement]
;; Except when the attribute is used within a line of code, as
@@ -1232,51 +1218,6 @@ comment at the start of cc-engine.el for more info."
nil))
- ;; Case 6: directive blocks for .aspx/.ashx/.ascx
- ,`((lambda (limit)
- (let ((parse-sexp-lookup-properties
- (cc-eval-when-compile
- (boundp 'parse-sexp-lookup-properties))))
-
- (while (re-search-forward csharp-aspnet-directive-re limit t)
- (csharp-log 3 "aspnet template? - %d limit(%d)"
(match-beginning 1)
- limit)
-
- (unless
- (progn
- (goto-char (match-beginning 0))
- (c-skip-comments-and-strings limit))
-
- (save-match-data
- (let ((end-open (+ (match-beginning 0) 3))
- (beg-close (- (match-end 0) 2)))
- (c-put-font-lock-face (match-beginning 0)
- end-open
- 'font-lock-preprocessor-face)
-
- (c-put-font-lock-face beg-close
- (match-end 0)
- 'font-lock-preprocessor-face)
-
- ;; fontify within the directive
- (while (re-search-forward
- ,(concat
- "\\("
- (c-lang-const c-symbol-key)
- "\\)"
- "=?"
- )
- beg-close t)
-
- (c-put-font-lock-face (match-beginning 1)
- (match-end 1)
- 'font-lock-keyword-face)
- (c-skip-comments-and-strings beg-close))
- ))
- (goto-char (match-end 0)))))
- nil))
-
-
;; ;; Case 5: #if
;; ,@(when t
;; `((,(byte-compile
- [elpa] externals/csharp-mode 421d3de 062/459: remove aspx code, (continued)
- [elpa] externals/csharp-mode 421d3de 062/459: remove aspx code, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 962478e 057/459: Merge branch 'devel', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2d13a9c 058/459: Add very broad build-level test., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 723341b 067/459: Fix incorrect-code tags in readme., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode a86839b 064/459: Merged from master., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0a2a3b0 066/459: Fix Emacs-lockup during fontification., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f2fda33 041/459: Fix errors in `make package`., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode a6eb8bd 047/459: Merge changes from branch 'devel', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 6289cfd 051/459: Fix broken byte-compile., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1f2fc21 055/459: Remove obsolete workarounds from README., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode d7ba765 063/459: Merge changes from devel.,
ELPA Syncer <=
- [elpa] externals/csharp-mode ed628e6 075/459: Attempt fix compilation-mode regexps for both xbuild & msbuild., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3c2f942 087/459: Merge pull request #34 from binki/master, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 31eebb9 079/459: create separate compilation regexps for xbuild, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 42ca773 097/459: Fix runtime warnings about obsolete Emacs-functions., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0779fe4 107/459: Update changelog., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1f0465b 126/459: Fix comments, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 6efd459 127/459: Stylistic fixes, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3b54997 130/459: Merge pull request #55 from josteink/derive-from-prog-mode, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode a553430 146/459: Merge pull request #66 from shoover/explicit-interface-property, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 157299a 013/459: Update TFS module., ELPA Syncer, 2021/08/22