Editor::Screen class of PicoRuby
Singleton methods
new
Editor::Screen.new() -> void
Instance methods
calculate_visual_cursor
instance.calculate_visual_cursor-> void
dirty_to_mode
instance.dirty_to_mode(Symbol dirty) -> Symbol
highlighted_segment
instance.highlighted_segment(String line, Integer lineno, Integer start_col, Integer max_width) -> String
load_file_into_buffer
instance.load_file_into_buffer(untyped filepath) -> bool
refresh
instance.refresh-> void
refresh_current_line
instance.refresh_current_line-> void
refresh_cursor
instance.refresh_cursor() { (self) -> void } -> void
refresh_cursor_and_footer
instance.refresh_cursor_and_footer-> void
refresh_footer
instance.refresh_footer() { (self) -> void } -> void
refresh_footer_only
instance.refresh_footer_only-> void
save_file_from_buffer
instance.save_file_from_buffer(untyped filepath) -> String
show_cursor
instance.show_cursor-> untyped
smart_refresh
instance.smart_refresh-> void
start
instance.start() { (self, Editor::Buffer, Integer, String?) -> void } -> void
update_cursor_line_wraps
instance.update_cursor_line_wraps-> void
Attr accessors
footer_height (accessor)
instance.footer_height -> Integer
quit_by_sigint (accessor)
instance.quit_by_sigint -> bool
redraw_mode (accessor)
instance.redraw_mode -> Symbol?