title: How do you add a new language setting to ScintillaNet?
body: <p>I'm writing a C# program that uses a text editor to edit a file format similar to compiled lua with ScintillaNet (rbf). I understand that you can add new languages to Scintilla by adding an Xml file, and referencing this in the CustomDirectory property. I would like the language to have the same Lexer/Parser as lua, but without the keywords and code completion. Could someone post up the Xml code like this that I can use as an example?</p>
  
  <p>It currently looks like this:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScintillaNET&gt;
    &lt;Language Name="rbf"&gt;
      &lt;Indentation TabWidth="4" SmartIndentType="cpp" /&gt;
      &lt;Lexer LineCommentPrefix="--" StreamCommentPrefix="[[" StreamCommentSuffix="]]" &gt;
      &lt;/Lexer&gt;
      &lt;Styles&gt;
        &lt;Style Name="DEFAULT" FontName="Courier New" Size="10"/&gt;
        &lt;Style Name="COMMENT" ForeColor="Green" Size="8"/&gt;
        &lt;Style Name="COMMENTLINE" ForeColor="Green" Size="8"/&gt;
        &lt;Style Name="NUMBER" ForeColor="Orange"/&gt;
        &lt;Style Name="WORD" ForeColor="Blue" Bold="Yes"/&gt;
        &lt;Style Name="WORD3" ForeColor="DarkBlue" Bold="Yes"/&gt;
        &lt;Style Name="WORD4" ForeColor="DarkBlue" Bold="Yes"/&gt;
        &lt;Style Name="WORD5" ForeColor="LightGreen" Bold="Yes"/&gt;
      &lt;/Styles&gt;
    &lt;/Language&gt;
  &lt;/ScintillaNET &gt;
  </code></pre>
  
  <p>I would also be helpful if someone could tell me how to set the default colours for the different styles (strings, comments, numbers etc.)</p>