FindCurrentMatchStyle

class FindCurrentMatchStyle(color: Color = Color(0x80FF9800)) : RichSpanStyle(source)

Highlight style for the current/active find match. Uses a semi-transparent orange background by default to distinguish from other matches.

Constructors

Link copied to clipboard
constructor(color: Color = Color(0x80FF9800))

Properties

Link copied to clipboard
open override val isDecoration: Boolean = true

Marks this highlight as an ephemeral overlay, keeping it out of the undo and edit history.

Link copied to clipboard

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)