void LineEdit::Validator::insert(std::u16string &string, size_t &cursor, size_t &ecursor, char16_t data) const { char16_t ch[2] = { char16_t(data), 0 }; string.insert(cursor,ch); ++cursor; ++ecursor; }
void LineEdit::Validator::insert(std::u16string &string, size_t &ecursor, size_t &cursor, const std::u16string &data) const { string.insert(cursor,data); ++cursor; ++ecursor; }