| 830 | |
| 831 | |
| 832 | void ByteView::right(int count, bool selecting) |
| 833 | { |
| 834 | if (m_cursorAddr <= (getEnd() - count)) |
| 835 | m_cursorAddr += count; |
| 836 | else |
| 837 | m_cursorAddr = getEnd(); |
| 838 | adjustAddressAfterForwardMovement(); |
| 839 | if (!selecting) |
| 840 | selectNone(); |
| 841 | repositionCaret(); |
| 842 | if (m_selectionVisible || selecting) |
| 843 | viewport()->update(); |
| 844 | } |
| 845 | |
| 846 | |
| 847 | void ByteView::up(bool selecting) |
no test coverage detected