MingaEditor.RenderPipeline.AgentChatPrefetch (Minga v0.1.0)

Copy Markdown View Source

Pre-fetched buffer data for one agent chat window.

The agent chat renderer combines normal buffer content with prompt and sidebar chrome. This struct carries the buffer-owned data captured before the named render stages run, so the :agent_content stage can render without calling the buffer process.

Summary

Types

t()

@type t() :: %MingaEditor.RenderPipeline.AgentChatPrefetch{
  buf_version: non_neg_integer(),
  content_w: pos_integer(),
  cursor_byte_col: non_neg_integer(),
  cursor_col: non_neg_integer(),
  cursor_line: non_neg_integer(),
  first_line: non_neg_integer(),
  gutter_w: non_neg_integer(),
  line_number_style: atom(),
  snapshot: Minga.Buffer.RenderSnapshot.t(),
  viewport: MingaEditor.Viewport.t(),
  win_id: MingaEditor.Window.id(),
  window: MingaEditor.Window.t()
}