Typedefs |
|
typedef boost::function< void(LineEditor &, unsigned &b, unsigned &e, std::string &prefix, std::vector< std::string > &)> |
Completer |
Functions |
|
void | selfInsertCommand (LineEditor &editor) |
Insert key as literal character. |
|
void | forwardChar (LineEditor &editor) |
Move one char forward. |
|
void | backwardChar (LineEditor &editor) |
Move one char backwards. |
|
void | accept (LineEditor &editor) |
Accept input line. |
|
void | acceptWithRepeat (LineEditor &editor) |
Accept, possibly repeat last history entry. |
|
void | backwardDeleteChar (LineEditor &editor) |
Delete char before cursor. |
|
void | deleteChar (LineEditor &editor) |
Delete char at cursor. |
|
void | beginningOfLine (LineEditor &editor) |
Move to beginning of line. |
|
void | endOfLine (LineEditor &editor) |
Move to end of line. |
|
void | deleteToEndOfLine (LineEditor &editor) |
Delete from cursor to end of line. |
|
void | restartEdit (LineEditor &editor) |
Clear edit buffer and restart edit. |
|
void | prevHistory (LineEditor &editor) |
Move to previous history entry. |
|
void | nextHistory (LineEditor &editor) |
Move to next history entry. |
|
void | clearScreen (LineEditor &editor) |
Clear screen and redisplay editor. |
|
void | complete (LineEditor &editor, Completer completer) |
Complete text at cursor. |
typedef boost::function<void (LineEditor &, unsigned & b, unsigned & e, std::string & prefix, std::vector<std::string> &)> senf::term::bindings:: | ||||
Completer | ||||
void senf::term::bindings:: | ||||
accept | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
acceptWithRepeat | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
backwardChar | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
backwardDeleteChar | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
beginningOfLine | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
clearScreen | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
complete | ( | LineEditor & | editor, | |
Completer | completer | ) | ||
Complete text at cursor.
This function calls completer to find the list of possible completions for the text between b and e (as passed to the completer). The completer must add all possible completions to the completions vector.
void senf::term::bindings:: | ||||
deleteChar | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
deleteToEndOfLine | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
endOfLine | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
forwardChar | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
nextHistory | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
prevHistory | ( | LineEditor & | editor | ) |
void senf::term::bindings:: | ||||
restartEdit | ( | LineEditor & | editor | ) |