BCGSoft Professional Editor for MFC
CBCGPOutlineParser

Detailed Description

The CBCGPOutlineParser class is used with the CBCGPEditCtrl class for auto-outlining.

It represents the parser engine an builds the hierarchy of the outlining nodes. It uses the BlockType structure to keep information about a set of outlining blocks, which the parser can recognize. The default parser can update outlining information for the edit control parsing the text on the fly.

You can customize the default parser deriving a class from CBCGPOutlineParser class. Then you can override CBCGPEditCtrl::CreateOutlineParser. Alternatively, you can override the CBCGPEditCtrl::OnUpdateAutoOutlining function and update outlining information by your own.

Inherits CObject.

Public Member Functions

 AddBlockTypeAdds a new outlining block definition.
 
 GetBlockType 
 
 InitInitializes the parser default state.
 
 UpdateOutliningUpdates outline information in specified range.
 

Public Attributes

 m_arrBlockTypesThe internal array of the outlining block definitions.