Example #1
0
 public void ExecuteCommand(EditorCommand command)
 => FocusedEditor?.ExecuteCommand(command);
Example #2
0
 public EditorCommandStatus GetCommandStatus(EditorCommand command)
 => FocusedEditor?.GetCommandStatus(command) ?? EditorCommandStatus.Unsupported;
Example #3
0
 public IEnumerable <EditorCommand> GetCommands()
 => FocusedEditor?.GetCommands() ?? EmptyArray <EditorCommand> .Instance;
Example #4
0
 public void SetCursorPosition(AbstractCursorPosition cursorPosition)
 => FocusedEditor?.SetCursorPosition(cursorPosition);
Example #5
0
 public void OnBlur() => FocusedEditor?.OnBlur();
Example #6
0
 public void Focus() => FocusedEditor?.Focus();
Example #7
0
 public IEnumerable <EditorCommand> GetCommands()
 => FocusedEditor?.GetCommands() ?? Array.Empty <EditorCommand> ();