package edit

Import Path
	src.elv.sh/pkg/edit (on go.dev)

Dependency Relation
	imports 40 packages, and imported by one package

Involved Source Files binding_map.go buf_to_html.go builtins.go command_api.go complete_getopt.go completion.go config_api.go Package edit implements the line editor for Elvish. The line editor is based on the cli package, which implements a general, Elvish-agnostic line editor, and multiple "addon" packages. This package glues them together and provides Elvish bindings for them. elv_init.go highlight.go hist_store.go histwalk.go insert_api.go instant.go key_binding.go listing.go listing_custom.go minibuf.go navigation.go ns_helper.go prompt.go repl.go state_api.go store_api.go vars.go
Package-Level Type Names (total 19, in which 1 are exported)
/* sort exporteds by: | */
Editor is the interactive line editor for Elvish. Maybe move this to another type that represents the REPL cycle as a whole, not just the read/edit portion represented by the Editor type. Ns returns a namespace for manipulating the editor from Elvish code. See https://elv.sh/ref/edit.html for the Elvish API. ReadCode reads input from the user. RunAfterCommandHooks runs callbacks involving the interactive completion of a command line. *T : src.elv.sh/pkg/eval.Editor func NewEditor(tty cli.TTY, ev *eval.Evaler, st store.Store) *Editor
Package-Level Functions (total 137, in which 1 are exported)
NewEditor creates a new editor. The TTY is used for input and output. The Evaler is used for syntax highlighting, completion, and calling callbacks. The Store is used for saving and retrieving command and directory history.
Package-Level Constants (only one, which is unexported)