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
-~----------~----~----~----~------~----~------~--~---

Reply via email to