C# and GtkSourceView
- From: Richard Torkar <richard torkar htu se>
- To: gnome-devtools gnome org
- Subject: C# and GtkSourceView
- Date: 11 Jun 2003 20:41:11 +0200
Attached //
/Richard
--
"UNIX is basically a simple operating system, but you have to be a
genius to understand the simplicity."
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language _name="CSharp" version="1.0" _section="Sources" mimetypes="text/x-cs">
<string _name = "String" style = "String" end-at-line-end = "TRUE">
<start-regex>"</start-regex>
<end-regex>"</end-regex>
</string>
<string _name = "String 2" style = "String" end-at-line-end = "TRUE">
<start-regex>'</start-regex>
<end-regex>'</end-regex>
</string>
<line-comment _name = "Line Comment" style= "Comment">
<start-regex>//</start-regex>
</line-comment>
<block-comment _name = "Block Comment" style = "Comment">
<start-regex>/\*</start-regex>
<end-regex>\*/</end-regex>
</block-comment>
<keyword-list _name = "Declarations" style = "Keyword" case-sensitive="TRUE">
<keyword>class</keyword>
<keyword>extends</keyword>
<keyword>implements</keyword>
<keyword>import</keyword>
<keyword>instanceof</keyword>
<keyword>interface</keyword>
<keyword>native</keyword>
<keyword>package</keyword>
<keyword>volatile</keyword>
<keyword>throws</keyword>
</keyword-list>
<keyword-list _name = "Primitives" style = "Data Type" case-sensitive="TRUE">
<keyword>boolean</keyword>
<keyword>byte</keyword>
<keyword>char</keyword>
<keyword>double</keyword>
<keyword>float</keyword>
<keyword>int</keyword>
<keyword>long</keyword>
<keyword>short</keyword>
</keyword-list>
<keyword-list _name = "Flow" style = "Keyword" case-sensitive="TRUE">
<keyword>break</keyword>
<keyword>case</keyword>
<keyword>catch</keyword>
<keyword>continue</keyword>
<keyword>default</keyword>
<keyword>do</keyword>
<keyword>else</keyword>
<keyword>for</keyword>
<keyword>goto</keyword>
<keyword>if</keyword>
<keyword>return</keyword>
<keyword>synchronized</keyword>
<keyword>throw</keyword>
<keyword>switch</keyword>
<keyword>try</keyword>
<keyword>while</keyword>
</keyword-list>
<keyword-list _name = "Modifiers" style = "Keyword" case-sensitive="TRUE">
<keyword>abstract</keyword>
<keyword>const</keyword>
<keyword>extern</keyword>
<keyword>internal</keyword>
<keyword>new</keyword>
<keyword>override</keyword>
<keyword>private</keyword>
<keyword>protected</keyword>
<keyword>public</keyword>
<keyword>readonly</keyword>
<keyword>sealed</keyword>
<keyword>static</keyword>
<keyword>virtual</keyword>
<keyword>volatile</keyword>
<keyword>void</keyword>
</keyword-list>
<keyword-list _name = "Memory" style = "Others" case-sensitive="TRUE">
<keyword>new</keyword>
<keyword>null</keyword>
<keyword>super</keyword>
<keyword>this</keyword>
<keyword>void</keyword>
</keyword-list>
<!-- FIXME -->
<pattern-item _name = "Numeric" style = "Decimal">
<regex><(?i0[X][\\dA-F]+|\\d+(\\.\\d*)?(?:E[+-]?[\\d]+)?F?|\\.\\d+(?:E[+-]?[\\d]+)?F?|[\\d]+[LF]?))</regex>
</pattern-item>
</language>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]