Пример #1
0
        protected override void OnRemovedFromEditor(TextEditorData data)
        {
            SetCaretMode(CaretMode.Insert, data);

            if (viTextEditor != null)
            {
                statusArea.RemoveFromParentAndDestroy();
                statusArea   = null;
                viTextEditor = null;
            }
        }
Пример #2
0
        protected override void OnAddedToEditor(TextEditorData data)
        {
            ViEditor.SetMode(ViEditorMode.Normal);
            SetCaretMode(CaretMode.Block, data);
            ViActions.RetreatFromLineEnd(data);

            viTextEditor = data.Parent;
            if (viTextEditor != null)
            {
                statusArea = new ViStatusArea(viTextEditor);
            }
        }
Пример #3
0
        protected override void OnRemovedFromEditor(TextEditorData data)
        {
            data.Caret.Mode = CaretMode.Insert;

            if (viTextEditor != null) {
                statusArea.RemoveFromParentAndDestroy ();
                statusArea = null;
                viTextEditor = null;
            }
        }
Пример #4
0
        protected override void OnAddedToEditor(TextEditorData data)
        {
            data.Caret.Mode = CaretMode.Block;
            ViActions.RetreatFromLineEnd (data);

            viTextEditor = data.Parent;
            if (viTextEditor != null) {
                statusArea = new ViStatusArea (viTextEditor);
            }
        }
Пример #5
0
        protected override void OnAddedToEditor(TextEditorData data)
        {
            ViEditor.SetMode (ViEditorMode.Normal);
            SetCaretMode (CaretMode.Block, data);
            ViActions.RetreatFromLineEnd (data);

            viTextEditor = data.Parent;
            if (viTextEditor != null) {
                statusArea = new ViStatusArea (viTextEditor);
            }
        }