Title: [132813] trunk/Source/WebCore
- Revision
- 132813
- Author
- [email protected]
- Date
- 2012-10-29 10:26:59 -0700 (Mon, 29 Oct 2012)
Log Message
Web Inspector: bind redo to Ctrl+Y on non-mac platforms
https://bugs.webkit.org/show_bug.cgi?id=100685
Reviewed by Vsevolod Vlasov.
* inspector/front-end/DefaultTextEditor.js:
(WebInspector.DefaultTextEditor.prototype._registerShortcuts):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (132812 => 132813)
--- trunk/Source/WebCore/ChangeLog 2012-10-29 17:10:19 UTC (rev 132812)
+++ trunk/Source/WebCore/ChangeLog 2012-10-29 17:26:59 UTC (rev 132813)
@@ -1,3 +1,13 @@
+2012-10-29 Pavel Feldman <[email protected]>
+
+ Web Inspector: bind redo to Ctrl+Y on non-mac platforms
+ https://bugs.webkit.org/show_bug.cgi?id=100685
+
+ Reviewed by Vsevolod Vlasov.
+
+ * inspector/front-end/DefaultTextEditor.js:
+ (WebInspector.DefaultTextEditor.prototype._registerShortcuts):
+
2012-10-29 Enrica Casucci <[email protected]>
Add ENABLE_USERSELECT_ALL feature flag.
Modified: trunk/Source/WebCore/inspector/front-end/DefaultTextEditor.js (132812 => 132813)
--- trunk/Source/WebCore/inspector/front-end/DefaultTextEditor.js 2012-10-29 17:10:19 UTC (rev 132812)
+++ trunk/Source/WebCore/inspector/front-end/DefaultTextEditor.js 2012-10-29 17:26:59 UTC (rev 132813)
@@ -395,6 +395,8 @@
var handleRedo = this._mainPanel.handleUndoRedo.bind(this._mainPanel, true);
this._shortcuts[WebInspector.KeyboardShortcut.makeKey("z", modifiers.CtrlOrMeta)] = handleUndo;
this._shortcuts[WebInspector.KeyboardShortcut.makeKey("z", modifiers.Shift | modifiers.CtrlOrMeta)] = handleRedo;
+ if (!WebInspector.isMac())
+ this._shortcuts[WebInspector.KeyboardShortcut.makeKey("y", modifiers.CtrlOrMeta)] = handleRedo;
var handleTabKey = this._mainPanel.handleTabKeyPress.bind(this._mainPanel, false);
var handleShiftTabKey = this._mainPanel.handleTabKeyPress.bind(this._mainPanel, true);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes