Documentation
¶
Overview ¶
Package editor is the code editor area of the native desktop: a file explorer, open-file tabs, a code editor (MyGo ui/editor, with find bar, folding, multi-cursor and syntax highlighting), image/PDF viewers and a status bar. It reaches parity with web-ui/src/components/editor (Monaco) over the same /api/v1/files endpoints.
LSP: Pando exposes no diagnostics/hover/completion over the HTTP API (the language servers live in the agent's process and feed the agent only), so the editor shows syntax highlighting but no LSP hints. The hooks (State.SetDiagnostics, OnHover, OnCompletion) are ready for when an endpoint exists.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
Editor is the area's state; every field belongs to the UI thread.
func (*Editor) HeaderActions ¶
HeaderActions adds Save, New file and the explorer toggles to the header.