teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Public Member Functions | Static Public Member Functions | List of all members
teditor::ledger::LedgerMode Class Reference
+ Inheritance diagram for teditor::ledger::LedgerMode:

Public Member Functions

 LedgerMode ()
 
Strings cmdNames () const
 
- Public Member Functions inherited from teditor::text::TextMode
 TextMode (const std::string &n="text", const std::string &w="abcdefghijklmnopqrstuvwxyzABCDEGGHIJKLMNOPQRS" "TUVWXYZ0123456789_")
 
int indent (Buffer &buf, int line)
 
- Public Member Functions inherited from teditor::readonly::ReadOnlyMode
 ReadOnlyMode (const std::string &n="ro", const std::string &w="abcdefghijklmnopqrstuvwxyzABCDEGGHIJKLMNO" "PQRSTUVWXYZ0123456789_")
 
KeyCmdMapgetKeyCmdMap ()
 
ColorMapgetColorMap ()
 
void getColorFor (AttrColor &fg, AttrColor &bg, int lineNum, int pos, const Buffer &b, bool isHighlighted)
 
- 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
 

Static Public Member Functions

static Modecreate ()
 
static bool modeCheck (const std::string &file)
 
- Static Public Member Functions inherited from teditor::text::TextMode
static Modecreate ()
 
static bool modeCheck (const std::string &file)
 
- Static Public Member Functions inherited from teditor::readonly::ReadOnlyMode
static Modecreate ()
 
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...
 

Detailed Description

ledger file edit mode

Constructor & Destructor Documentation

◆ LedgerMode()

teditor::ledger::LedgerMode::LedgerMode ( )
inline

Member Function Documentation

◆ cmdNames()

Strings teditor::ledger::LedgerMode::cmdNames ( ) const
inlinevirtual

list of all command names that are registered under this mode

Reimplemented from teditor::Mode.

◆ create()

static Mode* teditor::ledger::LedgerMode::create ( )
inlinestatic

◆ modeCheck()

static bool teditor::ledger::LedgerMode::modeCheck ( const std::string &  file)
inlinestatic

The documentation for this class was generated from the following file: