-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From now on, when executing the `Undo`, `Redo`, and `Select All` command handlers, we do not focus the `current` editor but follow the following execution order: - Executes on the `current` editor if it has text focus. - Otherwise, if the `document.activeElement` is either an `input` or a `textArea`, executes the browser's built-in command on it. - Otherwise, executes on the `current` editor after setting the focus on it. Closes: #6428 Closes: #2756 Signed-off-by: Akos Kitta <kittaakos@typefox.io> rewrote it a bit. Signed-off-by: Akos Kitta <kittaakos@typefox.io> aligned name. Signed-off-by: Akos Kitta <kittaakos@typefox.io> s Signed-off-by: Akos Kitta <kittaakos@typefox.io>
- Loading branch information
Akos Kitta
committed
Mar 14, 2020
1 parent
9457f80
commit 85d24fe
Showing
2 changed files
with
99 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters