[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

pfeldman at chromium.org pfeldman at chromium.org
Wed Dec 22 15:51:23 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 8c1ac0c9a4bb5d87cb6a32508edfea51ff6d493a
Author: pfeldman at chromium.org <pfeldman at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Nov 15 12:09:45 2010 +0000

    2010-11-15  Pavel Feldman  <pfeldman at chromium.org>
    
            Reviewed by Yury Semikhatsky.
    
            Web Inspector: Do not hide default Ctrl+A behavior on non-Mac.
            https://bugs.webkit.org/show_bug.cgi?id=49527
    
            * inspector/front-end/TextPrompt.js:
            (WebInspector.TextPrompt.prototype._onKeyDown):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72002 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 76a4f5b..e2375f6 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-11-15  Pavel Feldman  <pfeldman at chromium.org>
+
+        Reviewed by Yury Semikhatsky.
+
+        Web Inspector: Do not hide default Ctrl+A behavior on non-Mac.
+        https://bugs.webkit.org/show_bug.cgi?id=49527
+
+        * inspector/front-end/TextPrompt.js:
+        (WebInspector.TextPrompt.prototype._onKeyDown):
+
 2010-11-15  Ilya Sherman  <isherman at chromium.org>
 
         Reviewed by Kent Tamura.
diff --git a/WebCore/inspector/front-end/TextPrompt.js b/WebCore/inspector/front-end/TextPrompt.js
index b6bcd52..e9a73fe 100644
--- a/WebCore/inspector/front-end/TextPrompt.js
+++ b/WebCore/inspector/front-end/TextPrompt.js
@@ -100,22 +100,6 @@ WebInspector.TextPrompt.prototype = {
                 }
                 defaultAction.call(this);
                 break;
-            case "U+0041": // Ctrl+A = Move caret to the start of prompt on non-Mac.
-                if (!WebInspector.isMac() && event.ctrlKey && !event.metaKey && !event.altKey && !event.shiftKey) {
-                    handled = true;
-                    this._moveCaretToStartOfPrompt();
-                    break;
-                }
-                defaultAction.call(this);
-                break;
-            case "U+0045": // Ctrl+E = Move caret to the end of prompt on non-Mac.
-                if (!WebInspector.isMac() && event.ctrlKey && !event.metaKey && !event.altKey && !event.shiftKey) {
-                    handled = true;
-                    this.moveCaretToEndOfPrompt();
-                    break;
-                }
-                defaultAction.call(this);
-                break;
             default:
                 defaultAction.call(this);
                 break;
@@ -379,18 +363,6 @@ WebInspector.TextPrompt.prototype = {
         return true;
     },
 
-    _moveCaretToStartOfPrompt: function()
-    {
-        var selection = window.getSelection();
-        var selectionRange = document.createRange();
-
-        selectionRange.setStart(this.element, 0);
-        selectionRange.setEnd(this.element, 0);
-
-        selection.removeAllRanges();
-        selection.addRange(selectionRange);
-    },
-
     moveCaretToEndOfPrompt: function()
     {
         var selection = window.getSelection();

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list