diff options
| author | Jan Tuomi <jan-sebastian.tuomi@aalto.fi> | 2016-10-09 14:47:46 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan-sebastian.tuomi@aalto.fi> | 2016-10-09 14:50:24 +0300 |
| commit | 02e2e07a7e9816a287cb95d3aa9d053415747bba (patch) | |
| tree | 3a56ac2b443cfe1d170104b0cc7a8cd3cb79f920 /editor.h | |
| parent | 812f3f69c854a5376dc0d123c4e545cf67c8690c (diff) | |
Add swap lines
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -22,6 +22,7 @@ class Editor { int delete_and_clamp_command(); int append_after_command(); int prepend_before_command(); + int swap_lines_command(); int edit_line(int line); int move_to_line(int line); @@ -29,6 +30,7 @@ class Editor { int delete_and_clamp(int line); int append_after_line(int line); int prepend_before_line(int line); + int swap_lines(int first, int second); }; #endif |
