Link Search Menu Expand Document

StyleEdit.ExpandFold Method

Explanation Folds and unfolds between braces. Only valid when the FoldBrace property is $TRUE.
Added since Ver.4.1.3
Call format StyleEdit1.ExpandFold( line [, expand ] )
Return value None
Arguments integer line Specify the line number starting from 0.
The operation is the same regardless of which line between the braces is specified.
If -1 is specified, all lines will be targeted.
boolean expand Specify $TRUE to expand between braces and $ FALSE to collapse.
If omitted, it will be $TRUE.
Exception Func-4 Invalid argument
Example of use
    StyleEdit1.ExpandFold(10, false);
    
Related item