Index: Source/devtools/front_end/common/TextRange.js |
diff --git a/Source/devtools/front_end/common/TextRange.js b/Source/devtools/front_end/common/TextRange.js |
index 834e8166cfd4574964ce2f6aae86ee3f8674c1f7..3639fb8ec639b9246af942e336e080d5fca659b3 100644 |
--- a/Source/devtools/front_end/common/TextRange.js |
+++ b/Source/devtools/front_end/common/TextRange.js |
@@ -43,6 +43,11 @@ WebInspector.TextRange = function(startLine, startColumn, endLine, endColumn) |
this.endColumn = endColumn; |
} |
+/** |
+ * @param {number} line |
+ * @param {number} column |
+ * @return {!WebInspector.TextRange} |
+ */ |
WebInspector.TextRange.createFromLocation = function(line, column) |
{ |
return new WebInspector.TextRange(line, column, line, column); |