Пример #1
0
 public void EnterNormalMode()
 {
     _currentModeHandler?.Leave();
     _currentModeHandler = _normalModeHandler;
     _currentModeHandler.Enter();
 }
Пример #2
0
 private void EnterFindMode()
 {
     _currentModeHandler?.Leave();
     _currentModeHandler = _findModeHandler;
     _currentModeHandler.Enter();
 }