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.
Summary: | Ability to force computation of hints | ||
---|---|---|---|
Product: | editor | Reporter: | Jan Lahoda <jlahoda> |
Component: | Hints & Annotations | Assignee: | Max Sauer <msauer> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jlahoda, rmatous, tmysik |
Priority: | P2 | Keywords: | API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | patch |
Description
Jan Lahoda
2008-10-17 19:29:10 UTC
Hello, I'd like to propose a compatible API change in Editor Hints SPI. In order to provide up-to-date hints on current line upon their invocation (alt-enter), a simple way is needed to communicate between Editor Hints SPI and hint providers. Each client module which intends to use refreshers will need an PositionRefresher implementation registered, which will provide up-to-date hints based on Context, providing position and cancel status. I'll attach Editor Hints changes and implementation or refresher for java (JavaPositionRefresher). Created attachment 84926 [details]
patch
Since there are no complaints, I'm going to push the changes. Marking as FIXED. --- http://hg.netbeans.org/jet-main/rev/5c1309221c86 Integrated into 'main-golden', will be available in build *200907290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5c1309221c86 User: Max Sauer <msauer@netbeans.org> Log: #150578: Ability to force computation of hints |