The viewableLines stuff still is not correct. Firebug.js line 2105
must be called unconditionally because otherwise the script view will
have empty space above the lines after enlarging the window. Off
course this should be triggered on another way.
Resizing the firebug stand alone window does not repaint or re-calc
the script view. This leaves a white area above/beneath the lines.
Scrolling recalcs it.
The lineheight in firebug.js is not measured correctly (on my systems
that is). I.e. at a certain text size, measureText returns 17 but
chromebug inspect shows a line size of 15. The number of viewableLines
is therefor measured incorrectly, it is to small and thus to less
lines are displayed leaving some white space beneath the script lines.
I somehow solved it by using a magic number translation in measureText
which changes 17 to 15 etc, but I don't think this is the correct
solution.
line 1956 of firebug.js: FBTrace.sysout("setSourceBoxLineSizes....
should be setViewableLines, if at least you want to output the method
name.
Sometimes chromebug breaks on error when it encounters an undefined
variable in firebug,js line 1592. this.context.chrome sometimes is
undefined. I'm not investigating this and don't know when it happens,
but I've put a "if (this.context.chrome)" in. I don't know what the
code should do when it is undefined though.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---