ScintillaNET
ScintillaNET copied to clipboard
Changing font after declaring StyleClearAll()
I see if I try to change the font after declaring StyleClearAll(), it will not work.
This does not work. The font stays as Courier New.:
scintilla.Styles[Style.Default].Font = "Courier New";
scintilla.StyleClearAll()
scintilla.Styles[Style.Default].Font = "Consolas";
This does work. The font changes to Consolas.:
scintilla.Styles[Style.Default].Font = "Courier New";
scintilla.Styles[Style.Default].Font = "Consolas";
scintilla.StyleClearAll()
If this is the intended functionality, please explain why.
Thanks.
Your first example should work. If it doesn't we may need to look into this further.
So you were able to confirm that the bug exists?
He added the bug label, so yeah i guess.