| 815 | |
| 816 | |
| 817 | void ByteView::left(int count, bool selecting) |
| 818 | { |
| 819 | if (m_cursorAddr > (getStart() + count)) |
| 820 | m_cursorAddr -= count; |
| 821 | else |
| 822 | m_cursorAddr = getStart(); |
| 823 | adjustAddressAfterBackwardMovement(); |
| 824 | if (!selecting) |
| 825 | selectNone(); |
| 826 | repositionCaret(); |
| 827 | if (m_selectionVisible || selecting) |
| 828 | viewport()->update(); |
| 829 | } |
| 830 | |
| 831 | |
| 832 | void ByteView::right(int count, bool selecting) |
no test coverage detected