teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
#include <cmd_msg_bar.h>
Public Member Functions | |
StringChoices (const Strings &arr, ChoicesFilter cf=strFind) | |
const std::string & | at (int idx) const |
std::string | getFinalStr (int idx, const std::string &str) const |
int | size () const |
Public Member Functions inherited from teditor::Choices | |
Choices (ChoicesFilter cf) | |
virtual | ~Choices () |
virtual bool | updateChoices (const std::string &str) |
virtual void | updateMainBuffer (CmdMsgBar &cmBar) |
virtual void | resetLocations (CmdMsgBar &cmBar) |
bool | match (const std::string &line, const std::string &str) const |
bool | match (int idx, const std::string &str) const |
void | setChoiceIdx (int idx) |
int | getChoiceIdx () const |
Protected Attributes | |
Strings | options |
teditor::StringChoices::StringChoices | ( | const Strings & | arr, |
ChoicesFilter | cf = strFind |
||
) |
|
inlinevirtual |
Implements teditor::Choices.
|
virtual |
Implements teditor::Choices.
Reimplemented in teditor::editor::ops::FileChoices.
|
inlinevirtual |
Implements teditor::Choices.
|
protected |