jamesKwen / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

No longer able to Annotate #128

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In 1.5.1 I was able to simply "dp.sh.GetBrush(language).Annotate(text);" to
highlight a line. This seems to have been taken out in 1.5.2.

Is there a way to get this back?

Original issue reported on code.google.com by dalmaer on 17 Dec 2008 at 12:33

GoogleCodeExporter commented 8 years ago
this was probably done via 3rd party plugin.

Original comment by alex.gor...@gmail.com on 17 Dec 2008 at 3:26

GoogleCodeExporter commented 8 years ago
Alex, thanks for replying first of all.

Oh really? You never abstracted out the annotation step? Wow, I wonder where I 
found
that code. It was right in shCore.js (attached)

Original comment by dalmaer on 17 Dec 2008 at 6:36

Attachments: