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 196981 - API review: Add possibility to specify that indexers should prefer modified editor content
Summary: API review: Add possibility to specify that indexers should prefer modified e...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.0.1
Hardware: All All
: P3 normal (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks: 196930
  Show dependency tree
 
Reported: 2011-03-22 17:25 UTC by Tomas Zezula
Modified: 2011-03-29 08:43 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Diff file (5.71 KB, patch)
2011-03-22 17:29 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2011-03-22 17:25:28 UTC
Currently only IndexingManager.refreshIndex has a parameter to specify if modified editor content should be used. The same blocking method (refreshIndexAndWait) should be added.
Comment 1 Tomas Zezula 2011-03-22 17:27:12 UTC
Such a method is needed by QuerySupport.query which refreshes the modified indexers, see issue #196930. Currently it's solved by hack (the code is copied from IndexingManager into QuerySupport).
Comment 2 Tomas Zezula 2011-03-22 17:29:29 UTC
Created attachment 107195 [details]
Diff file
Comment 3 Dusan Balek 2011-03-28 07:35:12 UTC
Proposed change seems to be OK.
Comment 4 Tomas Zezula 2011-03-28 12:52:39 UTC
Fixed jet-main 2038c0eac11a
Comment 5 Quality Engineering 2011-03-29 08:43:39 UTC
Integrated into 'main-golden', will be available in build *201103290400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2038c0eac11a
User: Tomas Zezula <tzezula@netbeans.org>
Log: #196981:API review: Add possibility to specify that indexers should prefer modified editor content