mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
[Jupyter Notebooks] Render In/Out directly via LineMarker
GitOrigin-RevId: b9ba3efad611320d93393a0aeb9ee692d9f4676b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a77e252ded
commit
1dce6be8f6
@@ -39,9 +39,6 @@
|
||||
<extensionPoint qualifiedName="org.jetbrains.plugins.notebooks.notebookCellInlayController"
|
||||
interface="org.jetbrains.plugins.notebooks.visualization.NotebookCellInlayController$Factory"
|
||||
dynamic="true"/>
|
||||
<extensionPoint qualifiedName="org.jetbrains.plugins.notebooks.notebookCellGutterController"
|
||||
interface="org.jetbrains.plugins.notebooks.visualization.NotebookCellGutterController"
|
||||
dynamic="true"/>
|
||||
|
||||
<extensionPoint qualifiedName="com.intellij.datavis.inlays.components.inlayStateCustomizer"
|
||||
interface="org.jetbrains.plugins.notebooks.visualization.r.inlays.components.InlayStateCustomizer"
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
package org.jetbrains.plugins.notebooks.visualization
|
||||
|
||||
import com.intellij.openapi.editor.impl.EditorImpl
|
||||
import com.intellij.openapi.extensions.ExtensionPointName
|
||||
import java.awt.Graphics
|
||||
import java.awt.Rectangle
|
||||
|
||||
interface NotebookCellGutterController {
|
||||
/**
|
||||
* The method may traverse iterator without returning to the initial position, the iterator is disposable.
|
||||
*
|
||||
* @param intervalIterator Iterator pointing on the cell for which gutter should be rendered.
|
||||
* @param visualLineStart Render only part starting from the specified visual line.
|
||||
* @param visualLineEnd Render only part until the specified visual line inclusive.
|
||||
* @param logicalLineStart Corresponds to [visualLineStart].
|
||||
* @param logicalLineEnd Corresponds to [visualLineEnd].
|
||||
*/
|
||||
fun paint(
|
||||
editor: EditorImpl,
|
||||
g: Graphics,
|
||||
r: Rectangle,
|
||||
intervalIterator: ListIterator<NotebookCellLines.Interval>,
|
||||
visualLineStart: Int,
|
||||
visualLineEnd: Int,
|
||||
logicalLineStart: Int,
|
||||
logicalLineEnd: Int
|
||||
)
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
val EP_NAME = ExtensionPointName.create<NotebookCellGutterController>("org.jetbrains.plugins.notebooks.notebookCellGutterController")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user