FindMatchStyle

class FindMatchStyle(color: Color = Color(0x60FFEB3B)) : RichSpanStyle(source)

Default highlight style for all find matches (non-current). Uses a semi-transparent yellow background by default.

Constructors

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

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)