FindCurrentMatchStyle

Highlight style for the current/active find match, drawn on layer. A FindState draws its own on a layer of its own.

Constructors

Link copied to clipboard
constructor(color: Color, layer: DecorationLayer)
constructor(color: Color = DefaultFindCurrentMatchColor)

A style on a layer no FindState reads or clears, semi-transparent orange by default.

Properties

Link copied to clipboard
Link copied to clipboard
open override val isDecoration: Boolean
Link copied to clipboard
open override val isHitTestable: Boolean = false

A tint only: clicks go to the spans beneath, such as its line's list marker.

Link copied to clipboard
open override val layer: DecorationLayer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val textColor: Color

Functions

Link copied to clipboard
open fun DrawScope.drawBackground(layoutResult: TextLayoutResult, lineWrap: LineWrap, textRange: TextRange, state: TextEditorState)
Link copied to clipboard
open override fun DrawScope.drawCustomStyle(layoutResult: TextLayoutResult, lineWrap: LineWrap, textRange: TextRange, state: TextEditorState)