[PyCharm] Jupyter (fix): Fixed different situations on move cells and on undo/redo after move. #(PY-77908, PY-80553) Fixed

GitOrigin-RevId: 812ed7386fb12ae6391490aff907ee307d97a443
This commit is contained in:
Nikita Pavlenko
2025-05-14 20:22:50 +00:00
committed by intellij-monorepo-bot
parent 6a444c675a
commit 274e45004c
@@ -23,7 +23,7 @@ class EditorCellOutputs(private val cell: EditorCell) {
}
private fun getOutputs(): List<EditorCellOutput> =
NotebookOutputDataKeyExtractor.Companion.EP_NAME.extensionList.asSequence()
NotebookOutputDataKeyExtractor.EP_NAME.extensionList.asSequence()
.mapNotNull { it.extract(editor as EditorImpl, cell.interval) }
.firstOrNull()
?.takeIf { it.isNotEmpty() }