From 02e2e07a7e9816a287cb95d3aa9d053415747bba Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 9 Oct 2016 14:47:46 +0300 Subject: Add swap lines --- editor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor.h') 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 -- cgit v1.3