Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Understanding CDT Parser, Editor, Outline View Interactions

Thanks for the pointers!

It seems to be working now that I have pushed my changes down from the parser, AST, into the model, and back up into the outline view!


Leherbauer, Anton (Toni) wrote:

the Outline view shows more or less the CModel element
for the translation unit of the active editor.
The model is built from the AST by the CModelBuilder2.

Regarding the Outline view implementation, start looking
at CContentOutlinePage and CContentOutlineProvider.

The content of the view is refreshed by the Reconciler thread which
is triggered by document changes (with some delay), but also
by certain events from the CModel or the Indexer.
See CReconciler and CReconcilingStrategy.


Back to the top