Documentation
¶
Overview ¶
internal/app/app.go
internal/app/editor_api.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App encapsulates the core components and main loop of the editor.
func (*App) GetModeHandler ¶
func (a *App) GetModeHandler() *modehandler.ModeHandler
GetModeHandler allows the API adapter to access the mode handler for command registration.
func (*App) GetThemeManager ¶
GetThemeManager returns the app's theme manager
func (*App) SetStatusMessage ¶
SetStatusMessage updates the status message. Keeping temporarily for backward compatibility during transition
type HighlightingManager ¶
type HighlightingManager struct {
// contains filtered or unexported fields
}
HighlightingManager handles debounced asynchronous syntax highlighting.
func NewHighlightingManager ¶
func NewHighlightingManager(editor *core.Editor, highlighter *highlighter.Highlighter, redrawFunc func()) *HighlightingManager
NewHighlightingManager creates a manager.
func (*HighlightingManager) AccumulateEdit ¶
func (hm *HighlightingManager) AccumulateEdit(edit types.EditInfo)
AccumulateEdit adds an edit to the pending list and triggers/resets the timer.
func (*HighlightingManager) Shutdown ¶
func (hm *HighlightingManager) Shutdown()
Shutdown cancels any pending/running tasks.
func (*HighlightingManager) TriggerUpdate ¶
func (hm *HighlightingManager) TriggerUpdate()
TriggerUpdate is kept for backward compatibility but now does nothing as AccumulateEdit is the new entry point