* Refactor setting the event types to work together with the ones set via <code>[[monitorEvents()]]</code>.

* Refactor setting the event types to work together with the ones set via <code>[[monitorEvents()]]</code>.

−

==== Syntax highlighting for JavaScript ====

+

==== Libraries code rewrite ====

−

The [[Script Panel]] should have syntax highlighting enabled for the displayed JavaScript code.

+

The APIs inside the <code>/lib</code> should be refactored to simplify and optimize them. Because extensions are also using these functions, it is important to keep the backward compatibility as far as possible.

'''Tasks:'''

'''Tasks:'''

−

* Replace <code>SourceBox</code> code by Orion

+

* Rewrite the functions

−

* Re-add context menu options

+

* Add JSDocs to all functions

−

* Adjust CSS to match the Firebug UI

+

+

==== Line numbers in CSS Edit Mode ====

+

The Source Edit Mode of the [[CSS Panel]] should have line numbers for easier navigation.

+

+

'''Tasks:'''

+

* Integrate Orion into the Source Edit Mode

+

* Ajust the display to fit to the Firebug UI

+

+

==== Cache options ====

+

Reading the Firebug preferences from the Firefox preferences should just happen once to avoid unnecessary disk accesses.

Feature Description

Adopt JSD2

Firebug script debugger and all related features like BON (break on ...) should be based on new JSD2 API. Using JSD2 API will also enable remote debugging.

Part of this task is also internal Firebug architecture refactoring so it's ready for remote debugging features. Note that adopting JSD2 doesn't automatically mean that Firebug is remote-debugging-ready. This is covered by issue 5837

Note that this task doesn't have to make it into Firebug.next, but it could be possible (if useful) to at least merge code changes.