Hi there,
although I already specified
Regards,
2mq
although I already specified
scintilla1.Lexing.LineCommentPrefix = "//";
scintilla1.Lexing.StreamCommentPrefix = "/*";
scintilla1.Lexing.StreamCommentSufix = "*/";
With this custom XML:<?xml version="1.0" encoding="utf-8"?>
<ScintillaNET>
<!--This is what you set the Language property to-->
<Language Name="myLanguage">
<!--These are characters after which autocomplete will open-->
<AutoComplete FillUpCharacters=".([" SingleLineAccept="True" IsCaseSensitive="False">
<List>
<!--Insert autocomplete keywords here-->
</List>
</AutoComplete>
<!--Indentation width and indentation type-->
<Indentation TabWidth="4" SmartIndentType="cpp" />
<!--Comment characters and the lexer to use-->
<Lexer LexerName="lua" LineCommentPrefix="//" StreamCommentPrefix="/* " StreamCommentSuffix=" */" >
<Keywords List="0" Inherit="False">
</Keywords>
</Lexer>
<Styles>
<Style Name="WORD" ForeColor="Black" BackColor="White"/>
</Styles>
</Language>
</ScintillaNET>
It doesn't recognize these comment prefixes, it still uses "--" for comment highlighting... What am I doing wrong?Regards,
2mq