diff --git a/docs/API-Reference/editor/Editor.md b/docs/API-Reference/editor/Editor.md index 4db5c3420a..e139e3fbb8 100644 --- a/docs/API-Reference/editor/Editor.md +++ b/docs/API-Reference/editor/Editor.md @@ -1703,3 +1703,18 @@ Constant: Bulls-eye mode, strictly center the text always. ## CENTERING\_MARGIN **Kind**: global constant + + +## getMarkOptionTabstopOutline() +Mark option for a subdued outline box, used to show every remaining stop of an active +snippet/tab-stop session (see editor/TabstopManager.js) so the user can see at a glance how +many fields are left and where, even for the ones they haven't tabbed to yet. + +**Kind**: global function + + +## getMarkOptionTabstopOutlineActive() +Mark option for the bold/active variant of the above, layered on top of it for whichever stop +is currently selected in an active snippet/tab-stop session. + +**Kind**: global function diff --git a/src/command/KeyBindingManager.js b/src/command/KeyBindingManager.js index d1ea60e65e..3bd1a0433c 100644 --- a/src/command/KeyBindingManager.js +++ b/src/command/KeyBindingManager.js @@ -1355,6 +1355,9 @@ define(function (require, exports, module) { if (!handled && _handleKey(shortcut)) { event.stopPropagation(); event.preventDefault(); + } else if (!handled && event.key === "Escape" && Phoenix.isNativeApp && brackets.platform === "mac") { + // unhandled Esc reaching the native macOS window exits full screen + event.preventDefault(); } }