Web Inspector: [ACE] set correct font
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Mar 2013 19:03:38 +0000 (19:03 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Mar 2013 19:03:38 +0000 (19:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111747

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-03-07
Reviewed by Pavel Feldman.

No new tests.

Set class "source-code" for the ace editor element.

* inspector/front-end/AceTextEditor.js:
(WebInspector.AceTextEditor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145106 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/AceTextEditor.js

index 7fd23a0..7bbeda7 100644 (file)
@@ -1,3 +1,17 @@
+2013-03-07  Andrey Lushnikov  <lushnikov@chromium.org>
+
+        Web Inspector: [ACE] set correct font
+        https://bugs.webkit.org/show_bug.cgi?id=111747
+
+        Reviewed by Pavel Feldman.
+
+        No new tests.
+
+        Set class "source-code" for the ace editor element.
+
+        * inspector/front-end/AceTextEditor.js:
+        (WebInspector.AceTextEditor):
+
 2013-03-06  Ojan Vafai  <ojan@chromium.org>
 
         Recalculate borders at the beginning of table layout
index b6a0a90..9c313b9 100644 (file)
@@ -45,7 +45,7 @@ WebInspector.AceTextEditor = function(url, delegate)
     WebInspector.View.call(this);
     this._delegate = delegate;
     this._url = url;
-    this.element.className = "ace-editor-container";
+    this.element.className = "ace-editor-container source-code";
 
     var prefix = window.flattenImports ? "" : "ace/";
     ace.config.setModuleUrl("ace/mode/javascript", prefix + "mode_javascript.js");