TextBuffer.hasSelection

bool hasSelection() @property

Get hasSelection property.

Returns

Whether the buffer has some text currently selected.