toSource

open override fun toSource(visualTextRange: TextRange): TextRange?

Compute the source text range corresponding to the rendered text.

Return

Range of the source text. Null, if there is no source representing the rendered text.