lib/textbringer/commands/buffers.rb in textbringer-0.3.0 vs lib/textbringer/commands/buffers.rb in textbringer-0.3.1
- old
+ new
@@ -5,11 +5,11 @@
define_command(:forward_char,
doc: "Move point n characters forward.") do
|n = number_prefix_arg|
Buffer.current.forward_char(n)
end
-
+
define_command(:backward_char,
doc: "Move point n characters backward.") do
|n = number_prefix_arg|
Buffer.current.backward_char(n)
end
@@ -23,29 +23,28 @@
define_command(:backward_word,
doc: "Move point n words backward.") do
|n = number_prefix_arg|
Buffer.current.backward_word(n)
end
-
define_command(:next_line,
doc: "Move point n lines forward.") do
|n = number_prefix_arg|
Buffer.current.next_line(n)
end
-
+
define_command(:previous_line,
doc: "Move point n lines backward.") do
|n = number_prefix_arg|
Buffer.current.previous_line(n)
end
-
+
define_command(:delete_char,
doc: "Delete n characters forward.") do
|n = number_prefix_arg|
Buffer.current.delete_char(n)
end
-
+
define_command(:backward_delete_char,
doc: "Delete n characters backward.") do
|n = number_prefix_arg|
Buffer.current.backward_delete_char(n)
end