public override void Attach(ITextEditor editor) { base.Attach(editor); te = editor.GetService(typeof(TextEditor)) as TextEditor; if ( te !=null){ ta = te.TextArea; vh = new VimHandler(ta, editor.FileName); ta.ActiveInputHandler = vh; } }
public override void Attach(ITextEditor editor) { base.Attach(editor); te = editor.GetService(typeof(TextEditor)) as TextEditor; if (te != null) { ta = te.TextArea; vh = new VimHandler(ta, editor.FileName); ta.ActiveInputHandler = vh; } }