Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfigYaml []byte
Functions ¶
func ConfigPath ¶ added in v0.3.0
ConfigPath returns the path to the configuration file.
Types ¶
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
Editor is a terminal-based text editing program.
func NewEditor ¶
func NewEditor(screen tcell.Screen, path string, lineNum uint64, configRuleSet config.RuleSet) *Editor
NewEditor instantiates a new editor that uses the provided screen.
func (*Editor) RunEventLoop ¶
func (e *Editor) RunEventLoop()
RunEventLoop processes events and draws to the screen, blocking until the user exits the program.
Click to show internal directories.
Click to hide internal directories.