teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
Public Member Functions | |
DirMode () | |
void | getColorFor (AttrColor &fg, AttrColor &bg, int lineNum, int pos, const Buffer &b, bool isHighlighted) |
Public Member Functions inherited from teditor::readonly::ReadOnlyMode | |
ReadOnlyMode (const std::string &n="ro", const std::string &w="abcdefghijklmnopqrstuvwxyzABCDEGGHIJKLMNO" "PQRSTUVWXYZ0123456789_") | |
int | indent (Buffer &buf, int line) |
KeyCmdMap & | getKeyCmdMap () |
ColorMap & | getColorMap () |
Public Member Functions inherited from teditor::Mode | |
Mode (const std::string &n, const std::string &w) | |
ctor More... | |
virtual | ~Mode () |
virtual const std::string & | name () const |
virtual const std::string & | word () const |
virtual Strings | cmdNames () const |
Static Public Member Functions | |
static Mode * | create () |
static bool | modeCheck (const std::string &file) |
Static Public Member Functions inherited from teditor::readonly::ReadOnlyMode | |
static Mode * | create () |
static bool | modeCheck (const std::string &file) |
Static Public Member Functions inherited from teditor::Mode | |
static ModePtr | createMode (const std::string &mode) |
Helper to create mode object of the named mode. More... | |
static std::string | inferMode (const std::string &file, bool isDir) |
Helper to infer mode name from the file. More... | |
dir mode
|
inline |
|
inlinestatic |
|
inlinevirtual |
get color for the given line
Reimplemented from teditor::readonly::ReadOnlyMode.
|
inlinestatic |