Editor::Buffer class of PicoRuby
Singleton methods
new
Editor::Buffer.new() -> instance
Instance methods
bottom
instance.bottom() -> void
clear
instance.clear() -> void
current_char
instance.current_char() -> String?
current_line
instance.current_line() -> String
current_tail
instance.current_tail(?Integer n) -> String
delete
instance.delete() -> void
delete_line
instance.delete_line() -> (String | nil)
down
instance.down() -> void
dump
instance.dump() -> String
head
instance.head() -> void
home
instance.home() -> void
insert_line
instance.insert_line(String | nil line) -> void
left
instance.left() -> void
put
instance.put(String | Symbol c) -> void
right
instance.right() -> void
tail
instance.tail() -> void
up
instance.up() -> void
Attr accessors
lines (accessor)
instance.lines -> Array[String]
changed (accessor)
instance.changed -> bool
cursor_x (reader)
instance.cursor_x -> Integer
cursor_y (reader)
instance.cursor_y -> Integer