| 755 | |
| 756 | |
| 757 | void ByteView::selectNone() |
| 758 | { |
| 759 | for (auto& i : m_lines) |
| 760 | { |
| 761 | if ((m_cursorAddr >= i.address) && (m_cursorAddr < (i.address + i.length)) && i.separator) |
| 762 | { |
| 763 | m_cursorAddr = i.address + i.length; |
| 764 | break; |
| 765 | } |
| 766 | } |
| 767 | m_selectionStartAddr = m_cursorAddr; |
| 768 | if (m_selectionVisible) |
| 769 | viewport()->update(); |
| 770 | repositionCaret(); |
| 771 | UIContext::updateStatus(); |
| 772 | } |
| 773 | |
| 774 | |
| 775 | void ByteView::selectAll() |