You can't.  Try it.  The script panels opens the what's in the source.

Besides, the FB folks know of this issue/bug.

gustavo

On Fri, Feb 18, 2011 at 8:41 AM, John J Barton
<[email protected]>wrote:

>
>
> On Feb 18, 6:37 am, Gustavo Seluja <[email protected]> wrote:
> > Jan,
> >
> > You can only do this when the code is part of the html (the *script*
> tab).
> > If the code is referenced (the *html *tab), the copy source option is not
> > available.  Moreover, expanding the code, selecting, copying/pasting will
> > carry over the line numbers.  Give it a try.  Find a webpage that has
> > something like this in it:
> >
> > <script type="text/javascript" src="js/test.js"></script>
> >
> > Then expand the code in the FB *html* tab, and see what happens.
>
> Why can't you just use the Script panel's copy of js/test.js?
>
> jjb
>
> >
> > Gustavo
> >
> > On Thu, Feb 17, 2011 at 4:13 PM, Jan Odvarko <[email protected]> wrote:
> > >  You need to make  a selection and right click on it.
> >
> > > Honza
> >
> > >   ------------------------------
> >
> > > *From:* [email protected] [mailto:[email protected]] *On
> > > Behalf Of *Gustavo Seluja
> > > *Sent:* Thursday, February 17, 2011 7:10 PM
> > > *To:* [email protected]
> > > *Subject:* Re: Line numbers when copying code
> >
> > > Hi John,
> >
> > > Can you send a screenshot?  I could not find 'Copy Source'.
> >
> > > Thx,
> > > Gustavo
> >
> > >  On Thu, Feb 17, 2011 at 10:10 AM, John J Barton <
> > > [email protected]> wrote:
> >
> > > Just right click on the Script panel and pick Copy Source.
> > > jjb
> >
> > > On Feb 17, 8:30 am, Gustavo Seluja <[email protected]> wrote:
> > > > Hola Pedro,
> >
> > > > Thanks very much for the response.  I went ahead and opened a bug
> report
> > > per
> > > > your instructions:
> >
> > > > "Line numbers copy after selecting/copying/pasting code"
> >
> > > > I attached to the bug report a pdf with steps and screenshots.  I am
> also
> > > > attaching the pdf here.  Let me know if there's anything else you
> need.
> >
> > > > Best regards,
> >
> > > > Gustavo Seluja
> > > > Santa Fe, NM
> >
> > > > On Wed, Feb 16, 2011 at 1:46 PM, Pedro Simonetti Garcia <
> >
> > > > [email protected]> wrote:
> > > > > Hi Gustavo,
> >
> > > > > I'm working on some improvements in the Script Panel and I found
> how to
> > > fix
> > > > > this problem, but it will possibly break some other Firebug
> extension.
> > > We
> > > > > have to create a migration plan and possibly get some feedback from
> > > > > extension developers before fixing this problem, but we're likely
> to
> > > fix
> > > > > this in a future version.
> >
> > > > > Could you please open a bug report for this problem?
> >
> > > > >http://code.google.com/p/fbug/issues/list
> >
> > > > > regards,
> >
> > > > > Pedro Simonetti.
> >
> > > > > 2011/2/16 Gustavo <[email protected]>
> >
> > > > >> Hello,
> >
> > > > >> While inspecting website codes, when selecting, copying and
> pasting
> > > > >> the code into anything (e.g., notepad), the line numbers appear.
>  Any
> > > > >> way to avoid this?
> >
> > > > >> Thanks!
> >
> > > > >> Gustavo
> > > > >> Santa Fe, NM
> >
> > > > >> --
> > > > >> 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.
> >
> > > > >  --
> > > > > 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.
> >
> > > >  FIREBUG DEFECT.pdf
> > > > 249KViewDownload
> >
> > > --
> >
> > > 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.
> >
> > > --
> > > 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.
> >
> > > --
> > > 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.
>
> --
> 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.
>
>

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