| Index: Source/devtools/front_end/TextRange.js
|
| diff --git a/Source/devtools/front_end/TextRange.js b/Source/devtools/front_end/TextRange.js
|
| index 0c838de05388ff89b16600b2098d74621e14262c..b7b6c05e4da04574ec302ab637867b3158b2551e 100644
|
| --- a/Source/devtools/front_end/TextRange.js
|
| +++ b/Source/devtools/front_end/TextRange.js
|
| @@ -154,6 +154,16 @@ WebInspector.TextRange.prototype = {
|
| },
|
|
|
| /**
|
| + * @param {!WebInspector.TextRange} other
|
| + * @return {boolean}
|
| + */
|
| + equal: function(other)
|
| + {
|
| + return this.startLine === other.startLine && this.endLine === other.endLine &&
|
| + this.startColumn === other.startColumn && this.endColumn === other.endColumn;
|
| + },
|
| +
|
| + /**
|
| * @param {number} lineOffset
|
| * @return {!WebInspector.TextRange}
|
| */
|
|
|