TPlusMemo.ExpandSel
PlusMemo Help Send comments on this topic.
TPlusMemo.ExpandSel

Glossary Item Box

 

Applies to

TPlusMemo, TDBPlusMemo

 

Declaration

function ExpandSel: Boolean;

 

Description

This method expands the block at the current editing place, if it is inside a static or dynamic collapsible block that has been collapsed.  It does nothing if the caret is not inside a collapsed block.  The function result returns True if some expansion occured, False otherwise.  Reasons for no expansion to occur are

 

- The caret is not located in a collapsible block;

- The block is not collapsed;

 

See also

Method CollapseSel

Topic Collapsible blocks in PlusMemo

TpmCollapsibleHandler component