| 792 | } |
| 793 | |
| 794 | void CUILines::DecCursorPos() |
| 795 | { |
| 796 | if (m_text.empty() || m_iCursorPos <= 0) |
| 797 | return; |
| 798 | |
| 799 | if (m_text_mask.at(m_iCursorPos - 1)) |
| 800 | m_iCursorPos -= 2; |
| 801 | else |
| 802 | m_iCursorPos--; |
| 803 | } |
| 804 | |
| 805 | void CUILines::UpdateCursor() |
| 806 | { |
no test coverage detected