This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 66470 - Review and publish errorstripe's private SPI
Summary: Review and publish errorstripe's private SPI
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milutin Kristofic
Keywords: API
Depends on:
Blocks: 59721
  Show dependency tree
Reported: 2005-10-11 13:01 UTC by _ pkuzel
Modified: 2015-10-12 10:29 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2005-10-11 13:01:01 UTC
Could you public some sort of offset based SPI? Something like push API:

   public MarkHandle addMark(Document_offset, MarkDescriptor);
   public void removeMark(MarkHandle);

Current Annotations API based approach is too slow (issue #59721). Another
Annotations API disadvantage is that annotations hide line numbers.

Recognized friend should be "org.netbeans.modules.versioning.system.cvss".
Comment 1 _ pkuzel 2005-10-11 13:15:31 UTC
Talked with tpavek, apireviews liason. If you provide a diff it can be reviewed
in fasttrack mode (it takes one week).
Comment 2 Vitezslav Stejskal 2007-11-08 09:05:02 UTC
This still needs to be rectified. Currently there is a whole bunch of modules impl-depending on
o.n.m.editor.errorstripe.privatespi.*, here is the list from deadlock's impl-deps.txt:

MODULE org.netbeans.modules.diff (ide)
MODULE org.netbeans.modules.gsf (ruby)
MODULE (java)
MODULE org.netbeans.modules.subversion (ide)
MODULE org.netbeans.modules.versioning (ide)
MODULE org.netbeans.modules.versioning.system.cvss (ide)
Comment 3 Jan Lahoda 2007-11-08 10:29:36 UTC
I still have this on my todo list...
Comment 4 Milos Kleint 2015-10-12 10:29:46 UTC
anything happening here? 

org.netbeans.modules.editor.errorstripe.privatespi.MarkProviderCreator and associated classes are still completely private (not even friend). It's a pain to maintain implementation dependencies for 3rd party plugins supporting multiple versions. Without this mark occurrences highlighting is only halfway useful.