summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/devtools/front_end/text_editor
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/devtools/front_end/text_editor')
-rw-r--r--chromium/third_party/blink/renderer/devtools/front_end/text_editor/CodeMirrorTextEditor.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/chromium/third_party/blink/renderer/devtools/front_end/text_editor/CodeMirrorTextEditor.js b/chromium/third_party/blink/renderer/devtools/front_end/text_editor/CodeMirrorTextEditor.js
index 601007786a1..65317dd75f5 100644
--- a/chromium/third_party/blink/renderer/devtools/front_end/text_editor/CodeMirrorTextEditor.js
+++ b/chromium/third_party/blink/renderer/devtools/front_end/text_editor/CodeMirrorTextEditor.js
@@ -162,7 +162,6 @@ TextEditor.CodeMirrorTextEditor = class extends UI.VBox {
this._codeMirror.on('changes', this._changes.bind(this));
this._codeMirror.on('beforeSelectionChange', this._beforeSelectionChange.bind(this));
- this._codeMirror.on('keyHandled', this._onKeyHandled.bind(this));
this.element.style.overflow = 'hidden';
this._codeMirrorElement.classList.add('source-code');
@@ -374,10 +373,6 @@ TextEditor.CodeMirrorTextEditor = class extends UI.VBox {
return this;
}
- _onKeyHandled() {
- UI.shortcutRegistry.dismissPendingShortcutAction();
- }
-
/**
* @param {number} lineNumber
* @param {number} lineLength