Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: Source/devtools/front_end/UISourceCodeFrame.js

Issue 23474010: DevTools: "Jump between editing locations" experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address @vsevik comments Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/UISourceCodeFrame.js
diff --git a/Source/devtools/front_end/UISourceCodeFrame.js b/Source/devtools/front_end/UISourceCodeFrame.js
index 2db48874786b23a24adea6fd77a13249d33145e3..d80894c90b3e0b31ea7ca121d03806d02fdb3741 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()
vsevik 2014/01/17 16:30:01 uiSourceCode
lushnikov 2014/01/17 17:33:53 Done.
+ {
+ return this._uiSourceCode;
+ },
+
_enableAutocompletionIfNeeded: function()
{
this.textEditor.setCompletionDictionary(WebInspector.settings.textEditorAutocompletion.get() ? new WebInspector.SampleCompletionDictionary() : null);

Powered by Google App Engine
This is Rietveld 408576698