How to Apply a Style to a Keywords List

Topics: Developer Forum, Project Management Forum, User Forum
Apr 10, 2010 at 12:33 PM

Hello, everyone! 
I Have  a questions to ask

this is my configuration file :
<?xml version="1.0" encoding="utf-8"?>
<ScintillaNET>
 <Language Name="ttt">
  <Lexer LexerName="mssql"  LineCommentPrefix="--" StreamCommentPrefix="/* " StreamCommentSuffix=" /*" >
   <Properties>
    <Property Name="fold.comment" Value="1" />
   </Properties>
   <Keywords List="0">
    action add all alter any as asc authorization backup begin
    select from where
   </Keywords>
   <Keywords List="1">
    if else what hi haha
   </Keywords>
   <Keywords List="2">
    aa bb cc dd
   </Keywords>
  </Lexer>
  <Styles>
   <Style Name="DOCUMENT_DEFAULT"  />
   <Style Name="DATATYPE" ForeColor="teal" />
   <Style Name="STATEMENT" ForeColor="Blue" />   
  </Styles>  
 </Language>
</ScintillaNET>

I want to set the style [<Style Name="DATATYPE" ForeColor="teal" />] apply to <Keywords List="2"> or other List,
What can I do , thx.