aboutsummaryrefslogtreecommitdiffstats
path: root/editor.h
diff options
context:
space:
mode:
authorJan Tuomi <jan-sebastian.tuomi@aalto.fi>2016-10-09 14:47:46 +0300
committerJan Tuomi <jan-sebastian.tuomi@aalto.fi>2016-10-09 14:50:24 +0300
commit02e2e07a7e9816a287cb95d3aa9d053415747bba (patch)
tree3a56ac2b443cfe1d170104b0cc7a8cd3cb79f920 /editor.h
parent812f3f69c854a5376dc0d123c4e545cf67c8690c (diff)
Add swap lines
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor.h b/editor.h
index 3e5c91d..6d1023c 100644
--- a/editor.h
+++ b/editor.h
@@ -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