Title: [98476] trunk/Source/WebCore
Revision
98476
Author
pfeld...@chromium.org
Date
2011-10-26 07:32:04 -0700 (Wed, 26 Oct 2011)

Log Message

2011-10-26  Pavel Feldman  <pfeld...@google.com>

        Not reviewed: follow up to 98236 - moved inspector settings initialization earlier to unbreak settings panel.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (98475 => 98476)


--- trunk/Source/WebCore/ChangeLog	2011-10-26 13:56:06 UTC (rev 98475)
+++ trunk/Source/WebCore/ChangeLog	2011-10-26 14:32:04 UTC (rev 98476)
@@ -1,3 +1,10 @@
+2011-10-26  Pavel Feldman  <pfeld...@google.com>
+
+        Not reviewed: follow up to 98236 - moved inspector settings initialization earlier to unbreak settings panel.
+
+        * inspector/front-end/TextEditorModel.js:
+        (WebInspector.TextEditorModel):
+
 2011-10-26  Zalan Bujtas  <zbuj...@gmail.com>
 
         Name viewport change event consistently.

Modified: trunk/Source/WebCore/inspector/front-end/TextEditorModel.js (98475 => 98476)


--- trunk/Source/WebCore/inspector/front-end/TextEditorModel.js	2011-10-26 13:56:06 UTC (rev 98475)
+++ trunk/Source/WebCore/inspector/front-end/TextEditorModel.js	2011-10-26 14:32:04 UTC (rev 98476)
@@ -66,8 +66,6 @@
     this._undoStack = [];
     this._noPunctuationRegex = /[^ !%&()*+,-.:;<=>?\[\]\^{|}~]+/;
     this._lineBreak = "\n";
-
-    WebInspector.settings.textEditorIndent = WebInspector.settings.createSetting("indent", WebInspector.TextEditorModel.Indent.FourSpaces);
 }
 
 WebInspector.TextEditorModel.Indent = {
@@ -313,3 +311,5 @@
         this._undoStack = [];
     }
 }
+
+WebInspector.settings.textEditorIndent = WebInspector.settings.createSetting("textEditorIndent", WebInspector.TextEditorModel.Indent.FourSpaces);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to