orion.core.marker | ||
---|---|---|
![]() |
![]() |
|
orion.core.file | orion.core.preference |
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").then(function(markers) { markers.addEventListener("problemsChanged", function(problems) { //do something with the new problems }); });
Each marker is a simple JSON object with the following properties:
![]() |
![]() |
![]() |
orion.core.file | orion.core.preference |