SyntaxHighlighter Evolved
highlight="75-97" just highlights line 75 (4 posts)

  1. mgason
    Posted 3 years ago #

    I have this[code lang="php" firstline="56" highlight="75-97"] around my code. It only highlights line 75?
    see this post


  2. Alex Mills (Viper007Bond)
    Plugin Author

    Posted 3 years ago #

    What post? :)

  3. dexbarrett
    Posted 3 years ago #

    mgason is right, but that only happens if you just have a range alone like in his example. highlight="75-97" will only highlight the line 75 but if you change it to highlight="3,75-97" it will work because you have the range 75-97 and also the line 3. A small bug i guess. By now if i have only a range i do this highlight=",75-97" so that it works.

  4. mgason
    Posted 3 years ago #

    I forgot about this post and did not have notify on I guess. I was just listing my lines. highlight="74,75,76,77,78" does work.
    Thanks dexbarret. I can confirm also that it works that way
    highlight="74-78" does not work
    highlight="74,75-78" does work

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SyntaxHighlighter Evolved
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic