textutil

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoIndent

func AutoIndent(te *widget.TextEdit) error

func Backspace

func Backspace(te *widget.TextEdit) error

func Comment

func Comment(tex *widget.TextEditX) error

func Copy

func Copy(te *widget.TextEdit) error

func Cut

func Cut(te *widget.TextEdit) error

func Delete

func Delete(te *widget.TextEdit) error

func DuplicateLines

func DuplicateLines(te *widget.TextEdit) error

func EndOfLine

func EndOfLine(te *widget.TextEdit, sel bool) error

func EndOfString

func EndOfString(te *widget.TextEdit, sel bool)

func Find

func Find(ctx context.Context, te *widget.TextEdit, str string) (bool, error)

func InsertString

func InsertString(te *widget.TextEdit, s string) error

func MoveCursorDown

func MoveCursorDown(es *widget.TextEdit, sel bool)

func MoveCursorJumpLeft

func MoveCursorJumpLeft(te *widget.TextEdit, sel bool) error

func MoveCursorJumpRight

func MoveCursorJumpRight(te *widget.TextEdit, sel bool) error

func MoveCursorLeft

func MoveCursorLeft(te *widget.TextEdit, sel bool) error

func MoveCursorRight

func MoveCursorRight(te *widget.TextEdit, sel bool) error

func MoveCursorToPoint

func MoveCursorToPoint(te *widget.TextEdit, p *image.Point, sel bool)

func MoveCursorUp

func MoveCursorUp(te *widget.TextEdit, sel bool)

func MoveLineDown

func MoveLineDown(te *widget.TextEdit) error

func MoveLineUp

func MoveLineUp(te *widget.TextEdit) error

func Paste

func Paste(te *widget.TextEdit, i event.CopyPasteIndex)

func RemoveLines

func RemoveLines(te *widget.TextEdit) error

func Replace

func Replace(te *widget.TextEdit, old, new string) (bool, error)

func SelectAll

func SelectAll(te *widget.TextEdit)

func SelectLine

func SelectLine(te *widget.TextEdit) error

func SelectWord

func SelectWord(te *widget.TextEdit) error

func StartOfLine

func StartOfLine(te *widget.TextEdit, sel bool) error

func StartOfString

func StartOfString(te *widget.TextEdit, sel bool)

func TabLeft

func TabLeft(te *widget.TextEdit) error

func TabRight

func TabRight(te *widget.TextEdit) error

func Uncomment

func Uncomment(tex *widget.TextEditX) error

Types

type TextEditInputHandler

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

func NewTextEditInputHandler

func NewTextEditInputHandler(tex *widget.TextEditX) *TextEditInputHandler

func (*TextEditInputHandler) OnInputEvent

func (eh *TextEditInputHandler) OnInputEvent(ev interface{}, p image.Point) event.Handled

Jump to

Keyboard shortcuts

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