There is minimum of code...
getContextMenuItems: function(fn, target)
{
.....
items.push(
{label: "GoToLine",
command: bindFixed(this.goToLineNum, this, lineNo) }
);
......
}
goToLineNum: function()
{
var lineNum;
if ((lineNum = parseInt(prompt("Go to line:", 0)))>0)
{
this.scrollToLine(lineNum)
this.highlightLine(lineNum)
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---