PY-77242 Jupyter(fix): Jupyter: Make markdown behaviour as in JupyterLab

(cherry picked from commit 186672d925b527f1a666c815f8b370d51ae1c2e3)

GitOrigin-RevId: 3e0cae82de3514cd9de8a9ec4c0cf68e092b7f35
This commit is contained in:
Nikita.Ashihmin
2024-11-07 21:05:43 +04:00
committed by intellij-monorepo-bot
parent 34c9b87f23
commit ac9aaf7d70

View File

@@ -485,8 +485,12 @@ class NotebookCellInlayManager private constructor(
return cells[index]
}
fun getCell(interval: NotebookCellLines.Interval): EditorCell {
return cells[interval.ordinal]
}
fun getCell(pointer: NotebookIntervalPointer): EditorCell {
return getCell(pointer.get()!!.ordinal)
return getCell(pointer.get()!!)
}
fun invalidateCells() {