Frequently Asked Questions (FAQ)

These questions are frequently asked in our discussion forum. Common exceptions and other issues are covered in Troubleshooting.

Table of Contents

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;
This will call the Scintilla_StyleNeeded event handler anytime Scintilla needs to style text—allowing you to provide your own custom styling logic. At that point you're on your own. A brief explanation of styling can be found in the Basic Styling Overview page of the Documentation. There is also a rudimentary working example in the IniLexer class of the SCide sample application.

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.

How do I request a feature or report a bug?

From the Issue Tracker link at the top of our CodePlex page select Create Issue. Given our small team size requests can sometimes take a while to get to but we do eventually see and attempt to fulfill them all.

Can you show me some sample code to accomplish XYZ?

No. We understand that our Documentation is on the light side, however, asking us to write code for you will go unanswered. We simply don't have the time. On the other hand, you will almost always get a response when you post your troublesome code and ask us to steer you in the right direction.

Last edited May 21, 2012 at 3:42 AM by jacobslusser, version 11


LEA314 Feb 16 at 7:03 AM 
How to change the font, when the standard lighting, such as mssql, the font does not change, but the increased size of the line.