Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CmdlineContent ¶
type CmdlineContent struct {
// contains filtered or unexported fields
}
type CmdlineShow ¶
type CmdlineShow struct {
// contains filtered or unexported fields
}
func NewCmlineShow ¶
func NewCmlineShow(eventData any) (c CmdlineShow)
["cmdline_show", content, pos, firstc, prompt, indent, level] content: List of [attrs, string] [[{}, "t"], [attrs, "est"], ...]
type Editor ¶
type Editor struct { widget.BaseWidget Nvim *nvim.Nvim // contains filtered or unexported fields }
func NewEditor ¶
func NewEditor(log logger, nvimProcessOptions []nvim.ChildProcessOption) *Editor
func (*Editor) CreateRenderer ¶
func (e *Editor) CreateRenderer() fyne.WidgetRenderer
func (*Editor) PreviewMode ¶
PreviewMode Renders the current buffer as markdown richtext
type FyneStyleTable ¶
type FyneStyleTable map[int]widget.TextGridStyle
type GridCursorGoto ¶
func NewGridCursorGoto ¶
func NewGridCursorGoto(eventArgs any) *GridCursorGoto
type GridResize ¶
type GridScroll ¶
type HLAttribute ¶
type HLAttribute struct { Foreground color.Color Background color.Color Special color.Color Reverse bool Italic bool Bold bool Strikethrough bool Underline bool Undercurl bool Underdouble bool Underdotted bool Underdashed bool Blend int }
func NewHLAttribute ¶
func NewHLAttribute(eventData any) (int, HLAttribute)
func (*HLAttribute) String ¶
func (attr *HLAttribute) String() string
type HightlightTable ¶
type HightlightTable map[int]HLAttribute
HightlightTable is used to keep track of nvims highlight ids.
func (HightlightTable) GetTextGridStyle ¶
func (hlt HightlightTable) GetTextGridStyle(hlID int) *widget.CustomTextGridStyle
type ModeChange ¶
type ModeInfoSet ¶
type ModeInfoSet struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.