Documentation
¶
Index ¶
Constants ¶
View Source
const ( CharCtrlAt = iota CharCtrlA CharCtrlB CharCtrlC CharCtrlD CharCtrlE CharCtrlF CharCtrlG CharCtrlH CharCtrlI CharCtrlJ CharCtrlK CharCtrlL CharCtrlM CharCtrlN CharCtrlO CharCtrlP CharCtrlQ CharCtrlR CharCtrlS CharCtrlT CharCtrlU CharCtrlV CharCtrlW CharCtrlX CharCtrlY CharCtrlZ CharEscape // In ASCII, the first 32 codes are used for control characters, which are not printable. // EndOfControlCharacters represents the last of these characters, "^_". EndOfControlCharacters = 31 CharBackspace = 127 )
View Source
const ( OpNop = iota OpDelete OpYank OpChange OpLower OpUpper OpSwitchCase OpSiege )
Variables ¶
View Source
var ErrNoTextObj = errors.New("no such text object")
Functions ¶
Types ¶
type ErrNoExCommand ¶
type ErrNoExCommand struct {
Name string
}
func (*ErrNoExCommand) Error ¶
func (e *ErrNoExCommand) Error() string
type RecordableRuneReader ¶
type RecordableRuneReader struct {
// contains filtered or unexported fields
}
func NewReader ¶
func NewReader(rd io.RuneReader) *RecordableRuneReader
func NewReaderContext ¶
func NewReaderContext(ctx context.Context, rd io.RuneReader) *RecordableRuneReader
func (*RecordableRuneReader) ReadRune ¶
func (rd *RecordableRuneReader) ReadRune() (r rune, size int, err error)
func (*RecordableRuneReader) Record ¶
func (rd *RecordableRuneReader) Record()
func (*RecordableRuneReader) Stop ¶
func (rd *RecordableRuneReader) Stop() []rune
Source Files
¶
Click to show internal directories.
Click to hide internal directories.