Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 354b7a4

Browse files
committed
Fix C# syntax highlighting: more than 3 slashes do not start a doc comment.
1 parent cfc8e8a commit 354b7a4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/AddIns/BackendBindings/CSharpBinding/Project/Resources/CSharp-Semantic.xshd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
</Span>
7676

7777
<Span color="Comment">
78-
<Begin color="XmlDoc/DocComment">///</Begin>
78+
<Begin color="XmlDoc/DocComment">///(?!/)</Begin>
7979
<RuleSet>
8080
<Import ruleSet="XmlDoc/DocCommentSet"/>
8181
<Import ruleSet="CommentMarkerSet"/>

src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/Highlighting/Resources/CSharp-Mode.xshd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</Span>
6565

6666
<Span color="Comment">
67-
<Begin color="XmlDoc/DocComment">///</Begin>
67+
<Begin color="XmlDoc/DocComment">///(?!/)</Begin>
6868
<RuleSet>
6969
<Import ruleSet="XmlDoc/DocCommentSet"/>
7070
<Import ruleSet="CommentMarkerSet"/>

0 commit comments

Comments
 (0)