orion.core.marker

The marker service is used to store problems found by a builder or syntax validator. A client can register with this service for notification when markers are changed. Here is an example of a component that is registering for notification of marker changes:

 serviceRegistry.getService("orion.core.marker").addEventListener("problemsChanged", 
     function(problems) {
       //do something with the new problems
     });

Each marker is a simple JSON object with the following properties:

reason
A string stating the description of the problem or marker
line
The line number of the marker
character
The column position of the marker