mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Inlay hints: docs
GitOrigin-RevId: 4eefd96cf6523d3c253f7bef12b00d6b661a5976
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ddc0b9453f
commit
efcffb291a
@@ -6,14 +6,14 @@ import com.intellij.codeInsight.hints.presentation.InlayPresentation
|
||||
interface InlayHintsSink {
|
||||
/**
|
||||
* Adds inline element to underlying editor.
|
||||
* Note, that only one presentation with the given key may be at the same offset.
|
||||
* Note, that single provider may add only one presentation to the given offset (no matter inline or block). This requirement may be relaxed in future.
|
||||
* @see [com.intellij.openapi.editor.InlayModel.addInlineElement]
|
||||
*/
|
||||
fun addInlineElement(offset: Int, relatesToPrecedingText: Boolean, presentation: InlayPresentation)
|
||||
|
||||
/**
|
||||
* Adds block element to underlying editor.
|
||||
* Note, that only one presentation with the given key may be at the same offset.
|
||||
* Note, that single provider may add only one presentation to the given offset (no matter inline or block). This requirement may be relaxed in future.
|
||||
* @see [com.intellij.openapi.editor.InlayModel.addBlockElement]
|
||||
*/
|
||||
fun addBlockElement(offset: Int, relatesToPrecedingText: Boolean, showAbove: Boolean, priority: Int, presentation: InlayPresentation)
|
||||
|
||||
Reference in New Issue
Block a user