usoSCLineNumbers

By JC2k8 Last update Aug 18, 2011 — Installed 414 times.

Script Summary: Adds line numbers to all pre tags on userscripts.org. Compatible with "uso - Count Issues".



Version: 1.0

Description

This script simply adds line numbers to source code. It does so by adding an additional PRE tag directly in front of existing source code listings. The Script works on every page on userscripts.org.

On the script source code listing it also adds anchors to the line numbers to allow jumping directly to a specific line. This behavior is compatible with uso - Count Issues. This will also add a visual cue to the specific line number.

It will not add line numbers when viewing changes and it can handle the inline versions and diffs introduced by Marti's excellent "uso - Count Issues" script.

History

- removed
+ added
! bugfix
* changed

1.0 - (2011-08-18)
Initial version