(chunks: RMarkdownChunk[] = _getChunks(),
line: number = _getStartLine())
| 232 | } |
| 233 | |
| 234 | export async function runCurrentChunkAndMove(chunks: RMarkdownChunk[] = _getChunks(), |
| 235 | line: number = _getStartLine()): Promise<void> { |
| 236 | const currentChunk = getCurrentChunk(chunks, line); |
| 237 | if (currentChunk) { |
| 238 | await runChunksInTerm([currentChunk.codeRange]); |
| 239 | } |
| 240 | const nextChunk = getNextChunk(chunks, line); |
| 241 | if (nextChunk) { |
| 242 | void goToChunk(nextChunk); |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | export async function runPreviousChunk(chunks: RMarkdownChunk[] = _getChunks(), |
| 247 | line: number = _getStartLine()): Promise<void> { |
nothing calls this directly
no test coverage detected