Index: Source/devtools/front_end/UISourceCodeFrame.js |
diff --git a/Source/devtools/front_end/UISourceCodeFrame.js b/Source/devtools/front_end/UISourceCodeFrame.js |
index 76a49112246315029923bb05b68f2ed37a23d6e2..b0191f82a3071cf24c2a72508c2006e22ac009f9 100644 |
--- a/Source/devtools/front_end/UISourceCodeFrame.js |
+++ b/Source/devtools/front_end/UISourceCodeFrame.js |
@@ -45,6 +45,14 @@ WebInspector.UISourceCodeFrame = function(uiSourceCode) |
} |
WebInspector.UISourceCodeFrame.prototype = { |
+ /** |
+ * @return {!WebInspector.UISourceCode} |
+ */ |
+ sourceCode: function() |
+ { |
+ return this._uiSourceCode; |
+ }, |
+ |
_enableAutocompletionIfNeeded: function() |
{ |
this.textEditor.setCompletionDictionary(WebInspector.settings.textEditorAutocompletion.get() ? new WebInspector.SampleCompletionDictionary() : null); |