MCPcopy Create free account
hub / github.com/SpartanJ/eepp / unfold

Method unfold

src/eepp/ui/uicodeeditor.cpp:1670–1679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1668}
1669
1670bool UICodeEditor::unfold( Int64 docLineIdx ) {
1671 if ( mDoc->getFoldRangeService().isFoldingRegionInLine( docLineIdx ) ) {
1672 /* if ( mDocView.isFolded( docLineIdx ) ) */ {
1673 sendCommonEvent( Event::OnBeforeFoldUnfoldRange );
1674 mDocView.unfoldRegion( docLineIdx );
1675 return true;
1676 }
1677 }
1678 return false;
1679}
1680
1681bool UICodeEditor::toggleFoldUnfold( Int64 docLineIdx ) {
1682 if ( mDoc->getFoldRangeService().isFoldingRegionInLine( docLineIdx ) ) {

Callers 1

registerCommandsMethod · 0.80

Calls 3

isFoldingRegionInLineMethod · 0.80
unfoldRegionMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected