Raxol.UI.Components.Input.MultiLineInput.RenderHelper (Raxol v0.5.0)

View Source

UI adapter for MultiLineInput's RenderHelper. Delegates to the implementation in Raxol.UI.Components.Input.MultiLineInput.RenderHelper.

Summary

Functions

Renders the multi-line input component with proper styling based on the state. Returns a grid of cell data for the visible portion of text.

Renders a single line of the multi-line input, applying selection and cursor styles as needed. Returns a list of label components for the segments of the line.

Functions

render(state, context, theme)

Renders the multi-line input component with proper styling based on the state. Returns a grid of cell data for the visible portion of text.

Delegates to the implementation in Raxol.UI.Components.Input.MultiLineInput.RenderHelper.

Parameters

  • state: The MultiLineInput state
  • context: The render context
  • theme: The theme containing style information

render_line(line_index, line_content, state, theme)

Renders a single line of the multi-line input, applying selection and cursor styles as needed. Returns a list of label components for the segments of the line.