Userscripts.org Source Numbering

By jerone Last update Jan 15, 2009 — Installed 95 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0
Script Summary:
Add line numbering to source code [v1.2 Beta].
Version: v1.2 Beta
Copyright: 2008 Jerone

This script has no discussions.

start the discussion

Review Summary
5 stars
1 reviews (1)
4 stars
1 reviews (1)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 2 reviews


Userscripts.org Source Numbering

$1 News:

Add line numbering to source code.

NOTE:This script is still a Beta release, so I'm not sure if all works for everybody. Please leave a message if you get any errors or bugs!

This script does NOT work without US Framework[Install][Homepage]. Please install that script first and read the instructions!

Have fun using it, gr Jerone

$2 Changelog:

[+] = added; [-] = removed; [/] = fixed; [*] = updated;
  • 19-12-2008 17:30 [v1 Alpha]:
    [+] initial release;
  • 10-01-2009 19:15 [v1.1 Beta]:
    [/] fixed bug in to many lines causing FF to crash;
    [/] minor bug fix in numbering width;
    [*] updated framework;
  • 11-01-2009 00:15 [v1.1.1 Beta]:
    [/] fixed bug in code;
  • 15-01-2009 17:00 [v1.2 Beta]:
    [+] added maximum lines option;
    [/] fixed style;
    [*] cleaned up code;

$3 Feature's:

  • Add line numbering to source code.
  • Option to maximize number of lines to prevent FF from crashing.
  • Doesn't mess with the source field, to keep it compatible with other scripts.
  • Excluded from copy.

$4 Screenshot:

Userscripts.org Search Extender

$5 Options:

  • maxLines
    [Integer] maximum number of lines (prevents FF from crashing);

$6 Todo:

  • -

$7 Notes:

I made this userscript in Dreamweaver 8.
It's tested in Firefox 2 (partly) and Firefox 3.0.5 (continuous) with GreaseMonkey 0.8.
This script is copyrighted and I prefer if you ask if you can 'borrow' parts of this script.
Installing is at own risk and I can't be held responsible if anything goes wrong.
Want to reward me for putting time and sweat into making this free userscript; (thank you).