|
teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
Functions | |
| Buffer & | getLedgerShowBuff (Editor &ed) |
| void | printHeader (Buffer &buf, const TimePoint &min, const TimePoint &max) |
| void | showTopAccounts (Buffer &buf, const std::string &file) |
| DEF_CMD (LedgerTop, "ledger::top", "ledger_ops", DEF_OP() { const auto &file=ed.getBuff().getFileName();auto &buf=getLedgerShowBuff(ed);showTopAccounts(buf, file);ed.switchToBuff("*ledger");}) | |
| void | showAllAccounts (Buffer &buf, const std::string &file) |
| DEF_CMD (Ledger, "ledger::all", "ledger_ops", DEF_OP() { const auto &file=ed.getBuff().getFileName();auto &buf=getLedgerShowBuff(ed);showAllAccounts(buf, file);ed.switchToBuff("*ledger");}) | |
| teditor::ledger::ops::DEF_CMD | ( | Ledger | , |
| "ledger::all" | , | ||
| "ledger_ops" | , | ||
| DEF_OP() { const auto &file=ed.getBuff().getFileName();auto &buf=getLedgerShowBuff(ed);showAllAccounts(buf, file);ed.switchToBuff("*ledger");} | |||
| ) |
| teditor::ledger::ops::DEF_CMD | ( | LedgerTop | , |
| "ledger::top" | , | ||
| "ledger_ops" | , | ||
| DEF_OP() { const auto &file=ed.getBuff().getFileName();auto &buf=getLedgerShowBuff(ed);showTopAccounts(buf, file);ed.switchToBuff("*ledger");} | |||
| ) |
| void teditor::ledger::ops::printHeader | ( | Buffer & | buf, |
| const TimePoint & | min, | ||
| const TimePoint & | max | ||
| ) |
| void teditor::ledger::ops::showAllAccounts | ( | Buffer & | buf, |
| const std::string & | file | ||
| ) |
| void teditor::ledger::ops::showTopAccounts | ( | Buffer & | buf, |
| const std::string & | file | ||
| ) |
1.8.17