class

Crubbletea::Bubbles::TextArea::Model

Inherits Reference < Object

Constructors

new(placeholder : String = "", style : Lipgloss::Style = Lipgloss::Style.new, prompt : String = "", width : Int32 = 40, height : Int32 = 6, char_limit : Int32 = 0, cursor : Cursor::Model = Cursor::Model.new, show_line_numbers : Bool = false, line_number_style : Lipgloss::Style = Lipgloss::Style.new, placeholder_style : Lipgloss::Style = Lipgloss::Style.new.faint(true))
Source

Instance methods

blur
Source
char_limit
Source
cursor
Source
cursor_col
Source
cursor_row
Source
delete_char_backward
Source
delete_char_forward
Source
delete_word_backward
Source
delete_word_forward
Source
focus
Source
focused?
Source
height
Source
height=(h : Int32) : Nil
Source
insert_char(c : Char) : Nil
Source
insert_newline
Source
line(row : Int32, v : String) : Nil
Source
line(row : Int32) : String
Source
line_count
Source
line_number_style
Source
move_down
Source
move_left
Source
move_right
Source
move_to_end
Source
move_to_start
Source
move_up
Source
page_down
Source
page_up
Source
placeholder
Source
placeholder_style
Source
prompt
Source
set_cursor(row : Int32, col : Int32) : Nil
Source
show_line_numbers
Source
style
Source
value
Source
value=(v : String) : Nil
Source
view
Source
visible_cursor_col
Source
visible_cursor_row
Source
width
Source
width=(w : Int32) : Nil
Source
word_left
Source
word_right
Source