void AttachEditorEvents() { editor.InsertCheck += Scintilla_InsertCheck; editor.CharAdded += Scintilla_CharAdded; editor.TextChanged += Scintilla_TextChanged; cache.GetJsonAcm()?.BindToEditor(editor); }
public void Prepare() { preSection = ConfigDotJson; RefreshSections(); cboxSection.Text = preSection; AttachEditorEvents(); jsonAcm = cache.GetJsonAcm()?.BindToEditor(editor); ShowSection(); UpdateCboxExampleItems(); AttachControlEvents(); }