struct

Bubbles::Textarea::StyleState

Inherits Struct < Value < Object

StyleState that will be applied to the text area. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:191

Constructors

new(base : Lipgloss::Style = Lipgloss::Style.new, text : Lipgloss::Style = Lipgloss::Style.new, line_number : Lipgloss::Style = Lipgloss::Style.new, cursor_line_number : Lipgloss::Style = Lipgloss::Style.new, cursor_line : Lipgloss::Style = Lipgloss::Style.new, end_of_buffer : Lipgloss::Style = Lipgloss::Style.new, placeholder : Lipgloss::Style = Lipgloss::Style.new, prompt : Lipgloss::Style = Lipgloss::Style.new)
Source

Instance methods

base
Source
base=(base : Lipgloss::Style)
Source
computed_cursor_line

computedCursorLine returns the computed style for the cursor line. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:202

Source
computed_cursor_line_number

computedCursorLineNumber returns the computed style for the cursor line number. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:206

Source
computed_end_of_buffer

computedEndOfBuffer returns the computed style for the end of buffer character. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:213

Source
computed_line_number

computedLineNumber returns the computed style for line numbers. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:217

Source
computed_placeholder

computedPlaceholder returns the computed style for the placeholder. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:221

Source
computed_prompt

computedPrompt returns the computed style for the prompt. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:225

Source
computed_text

computedText returns the computed style for text. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:229

Source
cursor_line
Source
cursor_line=(cursor_line : Lipgloss::Style)
Source
cursor_line_number
Source
cursor_line_number=(cursor_line_number : Lipgloss::Style)
Source
end_of_buffer
Source
end_of_buffer=(end_of_buffer : Lipgloss::Style)
Source
line_number
Source
line_number=(line_number : Lipgloss::Style)
Source
placeholder
Source
placeholder=(placeholder : Lipgloss::Style)
Source
prompt
Source
prompt=(prompt : Lipgloss::Style)
Source
text
Source
text=(text : Lipgloss::Style)
Source