MapMode

Distinguishes different ways in which positions can be mapped.

Entries

Link copied to clipboard

Map a position to a valid new position, even when its context was deleted.

Link copied to clipboard

Return null if deletion happens across the position.

Link copied to clipboard

Return null if the character before the position is deleted.

Link copied to clipboard

Return null if the character after the position is deleted.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): MapMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.