TextBuffer.hasSelection

Get hasSelection property.

class TextBuffer
@property
bool
hasSelection
()

Return Value

Type: bool

Whether the buffer has some text currently selected.