teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
Go to the documentation of this file.
14 const std::string& w=
"abcdefghijklmnopqrstuvwxyzABCDEGGHIJKLMNO"
15 "PQRSTUVWXYZ0123456789_");
20 const Buffer& b,
bool isHighlighted);
24 static bool modeCheck(
const std::string& file);
30 struct Keys {
static std::vector<KeyCmdPair> All; };
31 struct Colors {
static std::vector<NameColorPair> All; };
ReadOnlyMode(const std::string &n="ro", const std::string &w="abcdefghijklmnopqrstuvwxyzABCDEGGHIJKLMNO" "PQRSTUVWXYZ0123456789_")
Definition: readonly.cpp:13
static bool modeCheck(const std::string &file)
Definition: readonly.cpp:9
Definition: key_cmd_map.h:19
void resetTraversal()
Definition: key_cmd_map.h:26
void getColorFor(AttrColor &fg, AttrColor &bg, int lineNum, int pos, const Buffer &b, bool isHighlighted)
Definition: readonly.cpp:20
bool isReadOnly(const char *f)
Definition: file_utils.cpp:52
int indent(Buffer &buf, int line)
Definition: readonly.h:16
KeyCmdMap & getKeyCmdMap()
Definition: readonly.h:17
REGISTER_MODE(ReadOnlyMode, "ro")
static Mode * create()
Definition: readonly.h:22
Definition: core/mode.h:27
const AttrColor & get(const std::string &name) const
Definition: colors.cpp:67
ColorMap & getColorMap()
Definition: readonly.h:18
Definition: readonly.h:11