예제 #1
0
파일: main.cs 프로젝트: 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;
                 }
 }
예제 #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;
     }
 }