editor

package
v0.0.0-...-c0ef368 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeUnknown = Type(iota)
	TypeVim
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Editor

type Editor struct {
	// contains filtered or unexported fields
}

func MakeEditor

func MakeEditor(
	funcUI interfaces.FuncIter[string],
	options map[Type][]string,
) (editor Editor, err error)

func MakeEditorWithVimOptions

func MakeEditorWithVimOptions(
	funcUI interfaces.FuncIter[string],
	options []string,
) (Editor, error)

func (Editor) Run

func (editor Editor) Run(
	files []string,
) (err error)

type Type

type Type byte

func (Type) String

func (i Type) String() string

Source Files

  • main.go
  • type.go
  • type_string.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL