Web Inspector: Change Cmd-D from kill line to selecting next occurrence
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Sep 2016 00:38:25 +0000 (00:38 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Sep 2016 00:38:25 +0000 (00:38 +0000)
commitd3128145c849085b0681c6e8d37869e00be936ea
tree8f71622e2ca69f4c2d309cbec354a6886d3aa351
parent256dfa5dad065ef3aab623ebf7632eb9a0ea459f
Web Inspector: Change Cmd-D from kill line to selecting next occurrence
https://bugs.webkit.org/show_bug.cgi?id=161514

Patch by Devin Rousso <dcrousso+webkit@gmail.com> on 2016-09-03
Reviewed by Brian Burg.

* UserInterface/Controllers/CodeMirrorTextKillController.js:
(WebInspector.CodeMirrorTextKillController):
(WebInspector.CodeMirrorTextKillController.prototype._handleTextChange):
Remove Cmd-D mapping.

* UserInterface/External/CodeMirror/sublime.js:
* UserInterface/Main.html:
Add Sublime Text keybinding support.

* UserInterface/Views/CodeMirrorAdditions.js:
Use Sublime text selectNextOccurrence for Cmd-D instead of deleteLine.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/Scripts/update-codemirror-resources.rb
Source/WebInspectorUI/UserInterface/Controllers/CodeMirrorTextKillController.js
Source/WebInspectorUI/UserInterface/External/CodeMirror/sublime.js [new file with mode: 0644]
Source/WebInspectorUI/UserInterface/Main.html
Source/WebInspectorUI/UserInterface/Views/CodeMirrorAdditions.js