Bug 291429 - provide a way to expand an collapse ICElements in the CEditor
Summary: provide a way to expand an collapse ICElements in the CEditor
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 6.0   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 291430
  Show dependency tree
 
Reported: 2009-10-05 18:37 EDT by Shawn Minto CLA
Modified: 2020-09-04 15:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Minto CLA 2009-10-05 18:37:16 EDT
It would be nice for integrations like Mylyn to have an easy way to expand and collapse elements by asking the CEditor to expand or collapse an ICElement.  Currently, we have to use the projection viewer operations which are not ideal.  The Java Editor exposes some methods in its IJavaFoldingStructureProviderExtension:

updater.collapseComments();
updater.collapseMembers();
updater.expandElements(IJavaElement[]);

etc.