Documentation
¶
Index ¶
- func AutoIndent(te *widget.TextEdit) error
- func Backspace(te *widget.TextEdit) error
- func Comment(tex *widget.TextEditX) error
- func Copy(te *widget.TextEdit) error
- func Cut(te *widget.TextEdit) error
- func Delete(te *widget.TextEdit) error
- func DuplicateLines(te *widget.TextEdit) error
- func EndOfLine(te *widget.TextEdit, sel bool) error
- func EndOfString(te *widget.TextEdit, sel bool)
- func Find(ctx context.Context, te *widget.TextEdit, str string) (bool, error)
- func InsertString(te *widget.TextEdit, s string) error
- func MoveCursorDown(es *widget.TextEdit, sel bool)
- func MoveCursorJumpLeft(te *widget.TextEdit, sel bool) error
- func MoveCursorJumpRight(te *widget.TextEdit, sel bool) error
- func MoveCursorLeft(te *widget.TextEdit, sel bool) error
- func MoveCursorRight(te *widget.TextEdit, sel bool) error
- func MoveCursorToPoint(te *widget.TextEdit, p *image.Point, sel bool)
- func MoveCursorUp(te *widget.TextEdit, sel bool)
- func MoveLineDown(te *widget.TextEdit) error
- func MoveLineUp(te *widget.TextEdit) error
- func Paste(te *widget.TextEdit, i event.CopyPasteIndex)
- func RemoveLines(te *widget.TextEdit) error
- func Replace(te *widget.TextEdit, old, new string) (bool, error)
- func SelectAll(te *widget.TextEdit)
- func SelectLine(te *widget.TextEdit) error
- func SelectWord(te *widget.TextEdit) error
- func StartOfLine(te *widget.TextEdit, sel bool) error
- func StartOfString(te *widget.TextEdit, sel bool)
- func TabLeft(te *widget.TextEdit) error
- func TabRight(te *widget.TextEdit) error
- func Uncomment(tex *widget.TextEditX) error
- type TextEditInputHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoIndent ¶
func DuplicateLines ¶
func EndOfString ¶
func MoveCursorDown ¶
func MoveCursorUp ¶
func MoveLineDown ¶
func MoveLineUp ¶
func RemoveLines ¶
func SelectLine ¶
func SelectWord ¶
func StartOfString ¶
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.