| 1110 | bool HasSelection() const { return Stb.select_start != Stb.select_end; } |
| 1111 | void ClearSelection() { Stb.select_start = Stb.select_end = Stb.cursor; } |
| 1112 | int GetCursorPos() const { return Stb.cursor; } |
| 1113 | int GetSelectionStart() const { return Stb.select_start; } |
| 1114 | int GetSelectionEnd() const { return Stb.select_end; } |
| 1115 | void SelectAll() { Stb.select_start = 0; Stb.cursor = Stb.select_end = CurLenW; Stb.has_preferred_x = 0; } |
no outgoing calls
no test coverage detected