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 225808 - Make NavigationHistory as public API
Summary: Make NavigationHistory as public API
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2013-02-06 16:16 UTC by Milutin Kristofic
Modified: 2013-02-20 05:27 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:

Navigation History API patch (11.73 KB, patch)
2013-02-08 11:53 UTC, Milutin Kristofic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Milutin Kristofic 2013-02-06 16:16:26 UTC
Because of NavigationHistory (To fix bug #208318) modules has implementation dependency to editor.lib. Maybe it is also time to move this class to editor.lib2
Comment 1 Milutin Kristofic 2013-02-08 11:52:35 UTC
I moved NavigationHistory from editor.lib to editor.lib2 and I make API from it. It enables to add position to edit history. It also enables get edit history and look on last edits. 

For example search.module adds replace string positions to navigationhistory and now it doesn't need to have implementation dependency on editor.lib.
Comment 2 Milutin Kristofic 2013-02-08 11:53:00 UTC
Created attachment 131144 [details]
Navigation History API patch
Comment 3 Jaroslav Tulach 2013-02-11 19:38:42 UTC
Y01 Polish the class that is about to become part of "cleaned up" API. E.g. put there javadoc, @since tag, describe what it is good for, etc.
Comment 4 Miloslav Metelka 2013-02-17 13:27:39 UTC
From the functional point of view we should IMHO change the WeakPositions impl to wrap real positions instead of using gap offset vector.
Comment 5 Milutin Kristofic 2013-02-19 12:12:02 UTC
@Y01: Thank you for comment. I added javadoc to methods. @Since tag is in new classes.

@Mila: It should be eventually changed.

Comment 6 Quality Engineering 2013-02-20 05:27:06 UTC
Integrated into 'main-golden', will be available in build *201302192300* on (upload may still be in progress)
User: Milutin Kristofic <>
Log: #225808 - Make NavigationHistory as public API