mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 15:35:20 +01:00
wrong index check.
This commit is contained in:
@@ -63,7 +63,7 @@ registerAction2(class extends NotebookCellAction {
|
||||
return;
|
||||
}
|
||||
|
||||
if (idx >= editor.getLength()) {
|
||||
if (idx >= editor.getLength() - 1) {
|
||||
// last one
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user