TextBuffer.getHasSelection

Indicates whether the buffer has some text currently selected.

class TextBuffer
bool
getHasSelection
()

Return Value

Type: bool

true if the there is text selected