Random data selection feature done. (#1617)

This commit is contained in:
Netro 2023-12-02 02:05:29 -05:00 committed by GitHub
parent b7b4a10485
commit 7354ba8fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 87 additions and 47 deletions

View file

@ -73,9 +73,10 @@ class TextViewer : public Widget {
void cursor_end();
void cursor_set(uint16_t line, uint16_t col);
void cursor_mark_selected();
void cursor_clear_marked();
typedef std::pair<uint16_t, uint16_t> LineColPair;
std::vector<LineColPair> pairedVector{};
std::vector<LineColPair> lineColPair{};
// Gets the length of the current line.
uint16_t line_length();