Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325186 - TaglibModelQueryExtension filters TLD CMDocuments by wrong offset
Summary: TaglibModelQueryExtension filters TLD CMDocuments by wrong offset
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.2.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 22:31 EDT by Nitin Dahyabhai CLA
Modified: 2011-01-04 08:55 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Dahyabhai CLA 2010-09-13 22:31:34 EDT
Since offset information is long lost by the point the model query extension is asked for information, the best thing to do is update line 49 to use the position independent retrieval method:
    List trackers = new ArrayList(manager.getTaglibTrackers());

Regrettably, we lost the ability to only propose custom tags from tag libraries already declared at the cursor offset in a document.  I was rather fond of it being that smart.
Comment 1 Nitin Dahyabhai CLA 2011-01-04 08:55:16 EST
Changed.