ActiveSnippet

data class ActiveSnippet(val fields: List<SnippetField>, val fieldIndex: Int)

Tracks the currently active snippet insertion — the list of tab-stop fields and the index of the field the cursor is at.

Constructors

Link copied to clipboard
constructor(fields: List<SnippetField>, fieldIndex: Int)

Properties

Link copied to clipboard

The field the cursor is currently on, or null if fieldIndex is out of bounds.

Link copied to clipboard
Link copied to clipboard