| 159 | } |
| 160 | |
| 161 | void CLineInput::SetCursorOffset(size_t Offset) |
| 162 | { |
| 163 | m_SelectionStart = m_SelectionEnd = m_LastCompositionCursorPos = m_CursorPos = std::clamp<size_t>(Offset, 0, m_Len); |
| 164 | m_WasCursorChanged = true; |
| 165 | } |
| 166 | |
| 167 | void CLineInput::SetSelection(size_t Start, size_t End) |
| 168 | { |
no outgoing calls
no test coverage detected