This project is read-only.

How do I set the font?

Topics: Developer Forum
Oct 10, 2006 at 3:46 PM
I tried setting the Font property of the ScintillaNet control on the designer surface but that doesn't take any effect. Is there a different way of doing that?
Oct 10, 2006 at 5:48 PM
I think it's all really based in the configuration system. I added support for the old configuration system a week or two ago. I know you can change fonts in the xml config file for each lexer.
Oct 12, 2006 at 11:23 AM
Use StyleSetFont() function and Enums.StylesCommon.Default.
Oct 12, 2006 at 2:45 PM
yea - if you're not using any configuration system, just use the properties on the control. They are all defined on the scintilla homepage. I was floating around in the configuration abyss and didn't answer your question correctly.. sorry about that.

Here is the link about scintilla styling:

All of those methods/properties translate to a member on the scintillaNet control.