Jacob,
Thanks about your prompt answer.
Below, the code I wrote:
As soon I type something in the control, it starts to work properly, that is, show the correct font and highlights sintax.
Mauro
Thanks about your prompt answer.
Below, the code I wrote:
ScintillaNET.Scintilla sne = new ScintillaNET.Scintilla();
sne.ConfigurationManager.Language = "python";
sne.Indentation.SmartIndentType = ScintillaNET.SmartIndent.Simple;
sne.TabIndex = 4;
sne.Whitespace.Mode = ScintillaNET.WhitespaceMode.VisibleAfterIndent;
sne.Text = "import sys";
sne.Dock = DockStyle.Fill;
pg.Controls.Add(sne);
sne.Invalidate();
tcScripts.SelectedTabPage = pg;
As you can see, I´m creating the Scintilla controle by code. I tryied the Invalidate(), and this is not updated as well. The "import sys" is for testing only.As soon I type something in the control, it starts to work properly, that is, show the correct font and highlights sintax.
Mauro