ScintillaNET Frequently Asked Questions (FAQ)
These questions are frequently asked in our discussion forum.Table of Contents
- Can ScintillaNET run on 64-bit platforms?
- How do I create my own language and/or custom syntax highlighting?
- How do I request a feature or report a bug?
Can ScintillaNET run on 64-bit platforms?
Yes, as of version 2.3. Make sure you distribute both SciLexer.dll and SciLexer64.dll with your application and ScintillaNET will automatically detect the platform and use the appropriate DLL.How do I create my own language and/or custom syntax highlighting?
ScintillaNET has numerous built-in lexers (the components responsible for syntax highlighting) and so chances are that any modern language already has syntax highlighting support and you'll just need to configure it to your liking. Doing syntax highlighting for your own custom language, however, requires a very good understanding of compiler theory and parsing. If you're feeling adventurous you can try the following:
Scintilla.Indentation.SmartIndentType = SmartIndent.None;
Scintilla.ConfigurationManager.Language = String.Empty;
Scintilla.Lexing.LexerName = "container";
Scintilla.Lexing.Lexer = Lexer.Container;
Scintilla.StyleNeeded += Scintilla_StyleNeeded;
Be mindful of the fact that if you run into a roadblock you're not likely to get people jumping at the chance to help you with "your" custom language in the forums.