edit

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PosnLine      = 0
	PosnChars     = 1
	PosnLineChars = 2
)
View Source
const (
	Inactive = 0 + iota
	Inserting
	Collecting
)
View Source
const (
	Minstring = 16
	Maxstring = bufs.RuneLen
)
View Source
const (
	Buflogsize = int(unsafe.Sizeof(Buflog{})) / runes.RuneSize
)

Variables

View Source
var BigLock = func() {}
View Source
var BigUnlock = func() {}
View Source
var Cedit = make(chan int)
View Source
var Editing int = Inactive
View Source
var Editoutlk util.QLock // atomic flag
View Source
var Enoname = "no file name given"
View Source
var Glooping int
View Source
var Putfile = func(*wind.File, int, int, []rune) {}
View Source
var Run = func(w *wind.Window, s string, rdir []rune) {}
View Source
var Wsequence = "warning: changes out of sequence\n"

Functions

func B_cmd

func B_cmd(t *wind.Text, cp *Cmd) bool

func D1

func D1(t *wind.Text)

func D_cmd

func D_cmd(t *wind.Text, cp *Cmd) bool

func Editcmd

func Editcmd(ct *wind.Text, r []rune)

func Edittext

func Edittext(w *wind.Window, q int, r []rune) error

func Nlcount

func Nlcount(t *wind.Text, q0 int, q1 int, pnr *int) int

func Straddc

func Straddc(s *String, c rune)

func X_cmd

func X_cmd(t *wind.Text, cp *Cmd) bool

Types

type Addr

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

type Address

type Address struct {
	// contains filtered or unexported fields
}
var TheAddr Address

type Buflog

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

type Cmd

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

type Cmdtab

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

type Defaddr

type Defaddr int

type Elog

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

type Filecheck

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

type List

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

type Looper

type Looper struct {
	XY bool
	// contains filtered or unexported fields
}

type String

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

type Tofile

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

Jump to

Keyboard shortcuts

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