Esempio n. 1
0
File: main.cs Progetto: voland/ViSD
 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;
                 }
 }
Esempio n. 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;
     }
 }