Skip to content

Instantly share code, notes, and snippets.

@marcusholmgren
Created January 21, 2010 19:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save marcusholmgren/283078 to your computer and use it in GitHub Desktop.
Save marcusholmgren/283078 to your computer and use it in GitHub Desktop.
VibrantInk inspired syntax highligthing for C# in SharpDevelop
<?xml version="1.0" encoding="utf-8"?>
<!--This file was autogenerated by the #Develop highlighting editor.-->
<!--VibrantInk inspired syntax highligthing for C# in #Develop.-->
<SyntaxDefinition name="C#" extensions=".cs">
<Environment>
<Custom name="TypeReference" bold="false" italic="false" color="Pink" />
<Custom name="UnknownEntity" bold="false" italic="false" color="Yellow" />
<Default bold="false" italic="false" color="White" bgcolor="Black" />
<Selection bold="false" italic="false" color="White" bgcolor="#6897BB" />
<VRuler bold="false" italic="false" color="Pink" bgcolor="#E3E3E3" />
<InvalidLines bold="false" italic="false" color="Red" />
<CaretMarker bold="false" italic="false" color="Aqua" />
<CaretLine bold="false" italic="false" color="#E3E3E3" bgcolor="Black" />
<LineNumbers bold="false" italic="false" color="#2691AF" bgcolor="Black" />
<FoldLine bold="false" italic="false" color="Silver" />
<FoldMarker bold="false" italic="false" color="Silver" bgcolor="Black" />
<SelectedFoldLine bold="false" italic="false" color="Silver" />
<EOLMarkers bold="false" italic="false" color="#E3E3E3" bgcolor="Black" />
<SpaceMarkers bold="false" italic="false" color="#2691AF" bgcolor="Black" />
<TabMarkers bold="false" italic="false" color="#E3E3E3" bgcolor="Black" />
</Environment>
<Properties>
<Property name="LineComment" value="//" />
</Properties>
<Digits name="Digits" bold="false" italic="false" color="#6897BB" />
<RuleSets>
<RuleSet ignorecase="false">
<Delimiters>&amp;&lt;&gt;~!%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<Span name="PreprocessorDirectives" rule="PreprocessorSet" stopateol="true" bold="false" italic="false" color="Green">
<Begin>#</Begin>
</Span>
<Span name="DocLineComment" rule="DocCommentSet" stopateol="true" bold="false" italic="true" color="Green">
<Begin bold="false" italic="false" color="Gray">///@!/@</Begin>
</Span>
<Span name="LineComment" rule="CommentMarkerSet" stopateol="true" bold="false" italic="false" color="Gray">
<Begin>//@!/@</Begin>
</Span>
<Span name="LineComment2" rule="CommentMarkerSet" stopateol="true" bold="false" italic="false" color="Gray">
<Begin>////</Begin>
</Span>
<Span name="BlockComment" rule="CommentMarkerSet" stopateol="false" bold="false" italic="false" color="Gray">
<Begin>/*</Begin>
<End>*/</End>
</Span>
<Span name="String" escapecharacter="\" stopateol="true" bold="false" italic="false" color="#A5C25C">
<Begin>"</Begin>
<End>"</End>
</Span>
<Span name="MultiLineString" escapecharacter="&quot;" stopateol="false" bold="false" italic="false" color="#A5C25C">
<Begin>@@"</Begin>
<End>"</End>
</Span>
<Span name="Char" escapecharacter="\" stopateol="true" bold="false" italic="false" color="#B1DBF3">
<Begin>'</Begin>
<End>'</End>
</Span>
<MarkPrevious bold="true" italic="false" color="#2691AF">(</MarkPrevious>
<KeyWords name="Punctuation" bold="false" italic="false" color="White">
<Key word="?" />
<Key word="," />
<Key word="." />
<Key word=";" />
<Key word="(" />
<Key word=")" />
<Key word="[" />
<Key word="]" />
<Key word="{" />
<Key word="}" />
<Key word="+" />
<Key word="-" />
<Key word="/" />
<Key word="%" />
<Key word="*" />
<Key word="&lt;" />
<Key word="&gt;" />
<Key word="^" />
<Key word="=" />
<Key word="~" />
<Key word="!" />
<Key word="|" />
<Key word="&amp;" />
</KeyWords>
<KeyWords name="AccessKeywords" bold="true" italic="false" color="Silver">
<Key word="this" />
<Key word="base" />
</KeyWords>
<KeyWords name="OperatorKeywords" bold="true" italic="false" color="#CC7832">
<Key word="as" />
<Key word="is" />
<Key word="new" />
<Key word="sizeof" />
<Key word="typeof" />
<Key word="true" />
<Key word="false" />
<Key word="stackalloc" />
</KeyWords>
<KeyWords name="SelectionStatements" bold="true" italic="false" color="#CC7832">
<Key word="else" />
<Key word="if" />
<Key word="switch" />
<Key word="case" />
<Key word="default" />
</KeyWords>
<KeyWords name="IterationStatements" bold="true" italic="false" color="#CC7832">
<Key word="do" />
<Key word="for" />
<Key word="foreach" />
<Key word="in" />
<Key word="while" />
</KeyWords>
<KeyWords name="JumpStatements" bold="false" italic="false" color="#CC7832">
<Key word="break" />
<Key word="continue" />
<Key word="goto" />
<Key word="return" />
</KeyWords>
<KeyWords name="ContextKeywords" bold="false" italic="false" color="#CC7832">
<Key word="yield" />
<Key word="partial" />
<Key word="global" />
<Key word="where" />
<Key word="select" />
<Key word="group" />
<Key word="by" />
<Key word="into" />
<Key word="from" />
<Key word="ascending" />
<Key word="descending" />
<Key word="orderby" />
<Key word="let" />
<Key word="join" />
<Key word="on" />
<Key word="equals" />
<Key word="var" />
</KeyWords>
<KeyWords name="ExceptionHandlingStatements" bold="true" italic="false" color="#CC7832">
<Key word="try" />
<Key word="throw" />
<Key word="catch" />
<Key word="finally" />
</KeyWords>
<KeyWords name="CheckedUncheckedStatements" bold="true" italic="false" color="#CC7832">
<Key word="checked" />
<Key word="unchecked" />
</KeyWords>
<KeyWords name="UnsafeFixedStatements" bold="false" italic="false" color="Olive">
<Key word="fixed" />
<Key word="unsafe" />
</KeyWords>
<KeyWords name="ValueTypes" bold="true" italic="false" color="#CC7832">
<Key word="bool" />
<Key word="byte" />
<Key word="char" />
<Key word="decimal" />
<Key word="double" />
<Key word="enum" />
<Key word="float" />
<Key word="int" />
<Key word="long" />
<Key word="sbyte" />
<Key word="short" />
<Key word="struct" />
<Key word="uint" />
<Key word="ushort" />
<Key word="ulong" />
</KeyWords>
<KeyWords name="ReferenceTypes" bold="false" italic="false" color="#CC7832">
<Key word="class" />
<Key word="interface" />
<Key word="delegate" />
<Key word="object" />
<Key word="string" />
</KeyWords>
<KeyWords name="Void" bold="false" italic="false" color="#CC7832">
<Key word="void" />
</KeyWords>
<KeyWords name="ConversionKeyWords" bold="true" italic="false" color="Pink">
<Key word="explicit" />
<Key word="implicit" />
<Key word="operator" />
</KeyWords>
<KeyWords name="MethodParameters" bold="true" italic="false" color="#CC7832">
<Key word="params" />
<Key word="ref" />
<Key word="out" />
</KeyWords>
<KeyWords name="Modifiers" bold="false" italic="false" color="#CC7832">
<Key word="abstract" />
<Key word="const" />
<Key word="event" />
<Key word="extern" />
<Key word="override" />
<Key word="readonly" />
<Key word="sealed" />
<Key word="static" />
<Key word="virtual" />
<Key word="volatile" />
</KeyWords>
<KeyWords name="AccessModifiers" bold="true" italic="false" color="#CC7832">
<Key word="public" />
<Key word="protected" />
<Key word="private" />
<Key word="internal" />
</KeyWords>
<KeyWords name="NameSpaces" bold="true" italic="false" color="#CC7832">
<Key word="namespace" />
<Key word="using" />
</KeyWords>
<KeyWords name="LockKeyWord" bold="false" italic="false" color="#CC7832">
<Key word="lock" />
</KeyWords>
<KeyWords name="GetSet" bold="false" italic="false" color="#CC7832">
<Key word="get" />
<Key word="set" />
<Key word="add" />
<Key word="remove" />
</KeyWords>
<KeyWords name="Literals" bold="true" italic="false" color="#CC7832">
<Key word="null" />
<Key word="value" />
</KeyWords>
</RuleSet>
<RuleSet name="CommentMarkerSet" ignorecase="false">
<Delimiters>&lt;&gt;~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<KeyWords name="ErrorWords" bold="true" italic="false" color="Red">
<Key word="TODO" />
<Key word="FIXME" />
</KeyWords>
<KeyWords name="WarningWords" bold="true" italic="false" color="#EEE0E000">
<Key word="HACK" />
<Key word="UNDONE" />
</KeyWords>
</RuleSet>
<RuleSet name="DocCommentSet" ignorecase="false">
<Delimiters>&lt;&gt;~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<Span name="XmlTag" rule="XmlDocSet" stopateol="true" bold="false" italic="false" color="Gray">
<Begin>&lt;</Begin>
<End>&gt;</End>
</Span>
<KeyWords name="ErrorWords" bold="true" italic="false" color="Red">
<Key word="TODO" />
<Key word="FIXME" />
</KeyWords>
<KeyWords name="WarningWords" bold="true" italic="false" color="#EEE0E000">
<Key word="HACK" />
<Key word="UNDONE" />
</KeyWords>
</RuleSet>
<RuleSet name="PreprocessorSet" ignorecase="false">
<Delimiters>&amp;&lt;&gt;~!%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<KeyWords name="PreprocessorDirectives" bold="true" italic="false" color="Green">
<Key word="if" />
<Key word="else" />
<Key word="elif" />
<Key word="endif" />
<Key word="define" />
<Key word="undef" />
<Key word="warning" />
<Key word="error" />
<Key word="line" />
<Key word="region" />
<Key word="endregion" />
<Key word="pragma" />
</KeyWords>
</RuleSet>
<RuleSet name="XmlDocSet" ignorecase="false">
<Delimiters>&lt;&gt;~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
<Span name="String" stopateol="true" bold="true" italic="false" color="Silver">
<Begin>"</Begin>
<End>"</End>
</Span>
<KeyWords name="Punctuation" bold="true" italic="false" color="Gray">
<Key word="/" />
<Key word="|" />
<Key word="=" />
</KeyWords>
<KeyWords name="SpecialComment" bold="true" italic="false" color="Gray">
<Key word="c" />
<Key word="code" />
<Key word="example" />
<Key word="exception" />
<Key word="list" />
<Key word="para" />
<Key word="param" />
<Key word="paramref" />
<Key word="permission" />
<Key word="remarks" />
<Key word="returns" />
<Key word="see" />
<Key word="seealso" />
<Key word="summary" />
<Key word="value" />
<Key word="inheritdoc" />
<Key word="type" />
<Key word="name" />
<Key word="cref" />
<Key word="item" />
<Key word="term" />
<Key word="description" />
<Key word="listheader" />
</KeyWords>
</RuleSet>
</RuleSets>
</SyntaxDefinition>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment