Beispiel #1
0
 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;
                 }
 }
Beispiel #2
0
 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;
     }
 }