BoundedBlockTextMapping

class BoundedBlockTextMapping(val coveredSourceRange: TextRange, visualTextRange: TextRange? = null) : TextMapping

Constructors

Link copied to clipboard
constructor(coveredSourceRange: TextRange, visualTextRange: TextRange? = null)

Properties

Link copied to clipboard
open override val coveredSourceRange: TextRange

Range of the source code covered by this mapping.

Functions

Link copied to clipboard
operator fun TextMapping.plus(other: TextMapping): TextMapping
Link copied to clipboard
open override fun toSource(visualTextRange: TextRange): TextRange?

Compute the source text range corresponding to the rendered text.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun toVisual(sourceTextRange: TextRange): TextRange?

Compute the rendered text range corresponding to the source text range.