previous

open val previous: String

The substring from the start of the string to the current cursor position.