| Index: Source/devtools/front_end/Linkifier.js
|
| diff --git a/Source/devtools/front_end/Linkifier.js b/Source/devtools/front_end/Linkifier.js
|
| index fb7f26635d10bd4dc88040da23faa050013a7bc5..2840b6158941a0d9a6e19f28039e77db6e4e2463 100644
|
| --- a/Source/devtools/front_end/Linkifier.js
|
| +++ b/Source/devtools/front_end/Linkifier.js
|
| @@ -276,3 +276,17 @@ WebInspector.Linkifier.LinkHandler.prototype = {
|
| */
|
| handleLink: function(url, lineNumber) {}
|
| }
|
| +
|
| +/**
|
| + * @param {string} scriptId
|
| + * @param {number} lineNumber
|
| + * @param {number=} columnNumber
|
| + */
|
| +WebInspector.Linkifier.liveLocationText = function(scriptId, lineNumber, columnNumber)
|
| +{
|
| + var script = WebInspector.debuggerModel.scriptForId(scriptId);
|
| + if (!script)
|
| + return "";
|
| + var uiLocation = script.rawLocationToUILocation(lineNumber, columnNumber);
|
| + return uiLocation.linkText();
|
| +}
|
|
|