示例#1
0
 private void OnCloseClick()
 {
     if (startViMode)
     {
         textBox.SetViMode(true);
     }
     DispatchNeedClose();
 }
 private bool DoNormalMode(Controller controller)
 {
     filterTextBox.SetViMode(true);
     filterTextBox.Controller.ViFixPositions(false);
     textBox.SetViMode(true);
     textBox.Controller.ViFixPositions(false);
     return(true);
 }
示例#3
0
 private bool DoNormalMode(Controller controller)
 {
     textBox.SetViMode(true);
     textBox.Controller.ViFixPositions(false);
     if (findInFilesData != null)
     {
         filterTextBox.SetViMode(true);
         filterTextBox.Controller.ViFixPositions(false);
     }
     return(true);
 }
示例#4
0
 private bool DoNormalMode(Controller controller)
 {
     if (textBox.Controller == controller)
     {
         textBox.SetViMode(true);
         textBox.Controller.ViFixPositions(false);
     }
     else if (replaceTextBox.Controller == controller)
     {
         replaceTextBox.SetViMode(true);
         replaceTextBox.Controller.ViFixPositions(false);
     }
     return(true);
 }