private void InitScintilla() { scintilla1.InsertCheck += scintilla1_InsertCheck; _scintillaForm = new ScintillaForm(scintilla1); _scintillaForm.SetFont("Consolas", 10); _scintillaForm.ConfigureLexerCpp(); _scintillaForm.SetTabIndent(2, 0, false); _scintillaForm.DisplayLineNumber(4); }
private void InitScintilla() { //tb_source.InsertCheck += scintilla_InsertCheck; //tb_source.BeforeInsert += scintilla_BeforeInsert; _scintillaForm = new ScintillaForm(tb_source); _scintillaForm.SetFont("Consolas", 10); _scintillaForm.ConfigureLexerCpp(); _scintillaForm.SetTabIndent(2, 0, false); //_scintillaForm.DisplayLineNumber(4); ScintillaViewLineNumber(); }
private void InitScintilla() { _scintillaForm = new ScintillaForm(tb_source); _scintillaForm.SetFont("Consolas", 10); _scintillaForm.ConfigureLexerCpp(); _scintillaForm.SetTabIndent(2, 0, false); _scintillaForm.DisplayLineNumber(4); }