GLXCurses.TextBuffer module¶
-
class
GLXCurses.TextBuffer.TextBuffer[source]¶ Bases:
GLXCurses.Object.Object-
cursor_position¶ The position of the insert mark (as offset from the beginning of the buffer). It is useful for getting notified when the cursor moves.
Returns: The cursor position Return type: int
-
has_selection¶ Whether the buffer has some text currently selected.
Returns: True when buffer have selection Return type: bool
-
text¶
-