DevTools/Highlighter: Difference between revisions

typo
(Escaped HTML)
(typo)
Line 180: Line 180:
=== Creating a new highlighter class ===
=== Creating a new highlighter class ===


A good way to get started is by taking a look at [http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/actors/highlighter.js the existing highlighter here].
A good way to get started is by taking a look at [http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/actors/highlighter.js existing highlighters here].


Here is some boilerplate code for a new highlighter class:
Here is some boilerplate code for a new highlighter class:
130

edits