diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 29c657a20..0adb9a8f8 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -60,6 +60,7 @@ - fixed #11022: Deleting user shows "TRUE" prompt - fixed #10029: Account CSS rule scoping, round #2. - fixed #11012: Code editor corrupts JS + - fixed #11019: Ctrl-A blinks and deletes code in Code Editor 7.7.19 - fixed #10838: Forwarded forum post email to new CS adds reply to original thread diff --git a/www/extras/yui-webgui/build/code-editor/code-editor.js b/www/extras/yui-webgui/build/code-editor/code-editor.js index fd01adc81..865c569e9 100755 --- a/www/extras/yui-webgui/build/code-editor/code-editor.js +++ b/www/extras/yui-webgui/build/code-editor/code-editor.js @@ -66,6 +66,11 @@ // That is the problem we're trying to avoid with disabling // highlighting for arrows and modifiers + // Don't highlight Ctrl, Alt, or Meta key combinations + if ( ev.ev.ctrlKey || ev.ev.altKey || ev.ev.metaKey ) { + return; + } + // Highlight every keypress Lang.later(10, this, this.highlight); Lang.later(100, this, this._writeStatus);