autocorrect

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package autocorrect contains common defs shared by Autocorrect-related tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestCase

type TestCase struct {
	InputMethod  ime.InputMethod
	MisspeltWord string
	CorrectWord  string
	UndoMethod   UndoMethod
}

TestCase struct encapsulates parameters for each Autocorrect test.

type UndoMethod

type UndoMethod int

UndoMethod enum corresponds to ways autocorrect can be undone.

const (
	ViaBackspace UndoMethod = iota
	ViaPopupUsingPK
	ViaPopupUsingMouse
	NotApplicable
)

Possible entries of UndoMethod enum.

Jump to

Keyboard shortcuts

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