Extend the tester to compile sources

This commit is contained in:
2024-02-25 15:16:19 +01:00
parent 160a97930e
commit 40f2c1eede
40 changed files with 3473 additions and 104 deletions

View File

@ -9,8 +9,8 @@ namespace elna
void editor_history::push(const std::string& entry)
{
commands.push_front(entry);
current_pointer = commands.cbegin();
commands.push_back(entry);
current_pointer = commands.cend();
}
void editor_history::clear()
@ -46,4 +46,9 @@ namespace elna
{
return this->commands.cend();
}
editor_history::const_iterator editor_history::current() const noexcept
{
return this->current_pointer;
}
}