Esempio n. 1
0
        void AttachEditorEvents()
        {
            editor.InsertCheck += Scintilla_InsertCheck;
            editor.CharAdded   += Scintilla_CharAdded;
            editor.TextChanged += Scintilla_TextChanged;

            cache.GetJsonAcm()?.BindToEditor(editor);
        }
Esempio n. 2
0
 public void Prepare()
 {
     preSection = ConfigDotJson;
     RefreshSections();
     cboxSection.Text = preSection;
     AttachEditorEvents();
     jsonAcm = cache.GetJsonAcm()?.BindToEditor(editor);
     ShowSection();
     UpdateCboxExampleItems();
     AttachControlEvents();
 }