in reply to Re^2: Change default style sheet: add line numbers
in thread Change default style sheet: add line numbers

I think this may depend on the browser, but I can't test cause I can't find the setting in Display Settings ... ?

edit

Or is it just a CSS hack?

update

OK found it hidden in the help page...


Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!

  • Comment on Re^3: Change default style sheet: add line numbers

Replies are listed 'Best First'.
Re^4: Change default style sheet: add line numbers
by choroba (Cardinal) on Mar 28, 2015 at 14:41 UTC
    OK, I investigated my settings. I use a CSS + JS solution (it links to CodeMirror). When I remove it and add the Code Prefix, the line numbers get selected with the code.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      Yeah its not trivial.

      I remember long discussions about the best implementation on Perl-community.de back in the days.  

      IIRC it wasn't perfect because line height could differ. (UPDATE wrapping comes also into play here)

      update

      See this example listing on Perl-Community - tinita be praised for her implementation. :)

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)

      PS: Je suis Charlie!