Browse Source

Fix C# syntax highlighting: more than 3 slashes do not start a doc comment.

pull/470/head
Daniel Grunwald 11 years ago
parent
commit
354b7a404c
  1. 2
      src/AddIns/BackendBindings/CSharpBinding/Project/Resources/CSharp-Semantic.xshd
  2. 2
      src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/Highlighting/Resources/CSharp-Mode.xshd

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

@ -75,7 +75,7 @@ @@ -75,7 +75,7 @@
</Span>
<Span color="Comment">
<Begin color="XmlDoc/DocComment">///</Begin>
<Begin color="XmlDoc/DocComment">///(?!/)</Begin>
<RuleSet>
<Import ruleSet="XmlDoc/DocCommentSet"/>
<Import ruleSet="CommentMarkerSet"/>

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

@ -64,7 +64,7 @@ @@ -64,7 +64,7 @@
</Span>
<Span color="Comment">
<Begin color="XmlDoc/DocComment">///</Begin>
<Begin color="XmlDoc/DocComment">///(?!/)</Begin>
<RuleSet>
<Import ruleSet="XmlDoc/DocCommentSet"/>
<Import ruleSet="CommentMarkerSet"/>

Loading…
Cancel
Save