namespace ui.ComboBoxHistory

namespace ComboBoxHistory {

// global functions

bool addEditTextToHistory();

void addToHistory(
    string_t text,
    size_t limit = 10
);

void removeExtraItems(size_t limit);

void saveHistory(
    doc.Storage* storage,
    string_t directory
);

void loadHistory(
    doc.Storage* storage,
    string_t directory
);

} // namespace ComboBoxHistory