Indentation

interface Indentation

Determines how TextArea and StyledTextArea should display leading tab and space characters, and the behaviour when the tab key is pressed.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val behaveLikeTabs: Boolean

For space-based indentation, should the caret move as if the underlying data structure uses tab characters? i.e. using the arrow keys, clicking/dragging with the mouse, backspace and delete should treat an indentation consisting of many spaces as if it were a single tab-character.

Link copied to clipboard
abstract val columns: Int
Link copied to clipboard
abstract val indentation: String

Functions

Link copied to clipboard
abstract fun indent(line: String): String
Link copied to clipboard
abstract fun unindent(line: String): Int