CodeInput.toggleHome

Move the caret to the "home" position of the line — or if the caret is already at that position, move it to line start. This function perceives the line visually, so if the text wraps, it will go to the beginning of the visible line, instead of the hard line break or the home.

class CodeInput
void
toggleHome
()

See Also

caretToLineHome and lineHomeByIndex

Meta