Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TriangleOutlineHighlight = readline.Highlight{ Pattern: triangleOutlinePattern, Sequence: "\x1B[0;1;7m", } WhiteMarkerHighlight = TriangleOutlineHighlight TriangleFilledHighlight = readline.Highlight{ Pattern: triangleFilledPattern, Sequence: "\x1B[0;1;4m", } BlackMarkerHighlight = TriangleFilledHighlight )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
UserJisyoPath string
SystemJisyoPaths []string
CtrlJ keys.Code
BindTo CanBindKey
KeepModeOnExit bool
MiniBuffer MiniBuffer
}
type Jisyo ¶
type Jisyo struct {
// contains filtered or unexported fields
}
Jisyo is a dictionary that contains user or system dictionary.
type MiniBuffer ¶
type MiniBufferOnCurrentLine ¶
type MiniBufferOnCurrentLine struct {
OriginalPrompt string
}
func (MiniBufferOnCurrentLine) Leave ¶
func (MiniBufferOnCurrentLine) Leave(w io.Writer) (int, error)
func (MiniBufferOnCurrentLine) Recurse ¶
func (MiniBufferOnCurrentLine) Recurse() MiniBuffer
type MiniBufferOnNextLine ¶
type MiniBufferOnNextLine struct{}
func (MiniBufferOnNextLine) Recurse ¶
func (MiniBufferOnNextLine) Recurse() MiniBuffer
type Mode ¶
type Mode struct {
User *Jisyo
System *Jisyo
MiniBuffer MiniBuffer
// contains filtered or unexported fields
}
Mode is an instance of SKK. It contains system dictionaries and user dictionaries.
func (*Mode) SaveUserJisyo ¶
SaveUserJisyo saves the user dictionary as filename. The file is first created with the name filename+".TMP", and replaced with the file of filename after closing. The original file is renamed to filename + ".BAK".
Source Files
¶
Click to show internal directories.
Click to hide internal directories.
