Yes, I do, I know it... but from force of habit I press Ctrl+G and
don't have what I want...
and even from context menu I can't do it.
Besides that there is no possibility to "find next". You can guaranty
that line is unique?
... and I don't understand why you don't wont to do it...
this is so simply, just few lines of code....
context.chrome.keyListen("g", isControl, bind(this.goToLineNum, this,
context));
and add line to menu...
On 21 Жов, 17:59, John J Barton <[EMAIL PROTECTED]> wrote:
> Did you know you can put the string "#5432" into the search box and go
> to the line?
>
> On Oct 21, 7:49 am, VBoyko <[EMAIL PROTECTED]> wrote:
>
> > Why? When I need to debug some big js (... and I do it every day: file
> > conten more than 8000 lines of code) I may to scroll to specific
> > line...
> > And it's not easy to find line #5432 (f.e.).
> > Many of texteditors use for this Ctrl+G shortcut, and if FireBug will
> > have this GRADE feature this can simplify work with debuger.
>
> > On Sep 23, 5:58 pm, John J Barton <[EMAIL PROTECTED]> wrote:
>
> > > Why?
>
> > > VBoyko wrote:
> > > > 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)
> > > > }
> > > > }- Hide quoted text -
>
> > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---