| 7184 | } |
| 7185 | |
| 7186 | int Editor::ContractedFoldNext ( int lineStart ) |
| 7187 | { |
| 7188 | for ( int line = lineStart; line < pdoc->LinesTotal(); ) { |
| 7189 | if ( !cs.GetExpanded ( line ) && ( pdoc->GetLevel ( line ) & SC_FOLDLEVELHEADERFLAG ) ) { |
| 7190 | return line; |
| 7191 | } |
| 7192 | line = cs.ContractedNext ( line + 1 ); |
| 7193 | if ( line < 0 ) { |
| 7194 | return -1; |
| 7195 | } |
| 7196 | } |
| 7197 | return -1; |
| 7198 | } |
| 7199 | |
| 7200 | /** |
| 7201 | * Recurse up from this line to find any folds that prevent this line from being visible |
nothing calls this directly
no test coverage detected