Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EditorModel ¶
func NewEditorModel ¶
func NewEditorModel() EditorModel
func (*EditorModel) Blur ¶
func (m *EditorModel) Blur()
func (*EditorModel) Focus ¶
func (m *EditorModel) Focus()
func (EditorModel) Init ¶
func (m EditorModel) Init() tea.Cmd
func (*EditorModel) Resize ¶
func (m *EditorModel) Resize(width int, height int)
func (*EditorModel) Save ¶
func (m *EditorModel) Save()
func (EditorModel) Update ¶
func (m EditorModel) Update(msg tea.Msg) (EditorModel, tea.Cmd)
func (EditorModel) View ¶
func (m EditorModel) View() string
type FilePanelModel ¶
type FilePanelModel struct { *model.BaseModel Markdown MarkdownModel Editor EditorModel }
func New ¶
func New() FilePanelModel
func (*FilePanelModel) Blur ¶
func (m *FilePanelModel) Blur()
func (*FilePanelModel) Focus ¶
func (m *FilePanelModel) Focus()
func (FilePanelModel) Init ¶
func (m FilePanelModel) Init() tea.Cmd
func (*FilePanelModel) Resize ¶
func (m *FilePanelModel) Resize(width int, height int)
func (FilePanelModel) Update ¶
func (m FilePanelModel) Update(msg tea.Msg) (FilePanelModel, tea.Cmd)
func (FilePanelModel) View ¶
func (m FilePanelModel) View() string
type MarkdownModel ¶
type MarkdownModel struct { *model.BoxModel Viewport viewport.Model // contains filtered or unexported fields }
func NewMarkdownModel ¶
func NewMarkdownModel() MarkdownModel
func (MarkdownModel) Init ¶
func (m MarkdownModel) Init() tea.Cmd
func (*MarkdownModel) Resize ¶
func (m *MarkdownModel) Resize(width int, height int)
func (MarkdownModel) Update ¶
func (m MarkdownModel) Update(msg tea.Msg) (MarkdownModel, tea.Cmd)
func (MarkdownModel) View ¶
func (m MarkdownModel) View() string
Click to show internal directories.
Click to hide internal directories.