Opened 17 years ago

Last modified 11 years ago

#71 closed enhancement

Add Error Decoration to documents; optimise Active Script Decoration — at Initial Version

Reported by: Graham Dutton Owned by: David Aspinall
Priority: major Milestone:
Component: 1:pg-eclipse Keywords: error decoration jdt marker
Cc:

Description

Decoration which annotates the current error/warning state is currently not generated.

It should take the form of:

  • if (error markers present) decorate with ("JDT Error")
  • else if (warning markers present) decorate with ("JDT Warning")
  • else no decoration.

This should appear in the Proof Explorer (see #7), though this may be by inheritance from the Project Explorer.

One major obstacle to this is that triggering decoration updates seems to be difficult to do. There should be some mechanism for forcing label provider updates, as calling updateForEnablementChange() is discouraged and severely sub-optimal (though at the scale it is being used, does not cause any major problems at present).

Fixing the problem above will also improve efficiency of the Active/Processed? Script decorator.

Change History (0)

Note: See TracTickets for help on using tickets.