teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
#include <file_utils.h>
Public Member Functions | |
FilesHist (const std::string &file, int _max) | |
void | add (const std::string &file, int line) |
Public Member Functions inherited from teditor::History | |
History (const std::string &f, int _max) | |
Ctor. More... | |
int | max () const |
const std::string & | getFile () const |
void | prune () |
void | store () const |
void | add (const std::string &elem) |
const Strings & | get () const |
Protected Member Functions | |
bool | isDuplicate (const std::string &a, const std::string &b) const override |
Stores visited files history
|
inline |
void teditor::FilesHist::add | ( | const std::string & | file, |
int | line | ||
) |
|
overrideprotectedvirtual |
Reimplemented from teditor::History.