Link Search Menu Expand Document

StyleEdit.GetFoldLevel Method

Explanation Find the nesting level of the brace of the target row. If the target line is collapsed, it will be returned as a negative value.
Added since Ver.4.1.3
Call format var level = StyleEdit1.GetFoldLevel( line )
Return value
Arguments integer line Specify the line number starting from 0.
Exception Func-4 Invalid arguments
Example of use
    var level = StyleEdit1.GetFoldLevel(100);
    
Related item