diff options
| author | Jan Tuomi <jan-sebastian.tuomi@aalto.fi> | 2016-10-09 13:28:54 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan-sebastian.tuomi@aalto.fi> | 2016-10-09 14:50:24 +0300 |
| commit | 8ce06103b5c5848b48dd31e21b6efd3eefed03d7 (patch) | |
| tree | b056a1e7ddfcc06e10b672dfd733b7ddc770b310 /editor.h | |
| parent | 7c9146efca9b565777e1093e65272f710ae5d0d9 (diff) | |
Add line editing
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,10 +9,14 @@ class Editor { Editor(std::vector<std::string>* contents); int run_editor(); private: + const static int OUTPUT_LINE_MAX = 10; + std::vector<std::string>* m_contents; int m_current_line; int print_contents_on_line(int line) const; + int edit_command(); + int edit_line(int line); }; #endif |
