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
4 changed files with 87 additions and 47 deletions
+2 -1
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();