- default: {
- std::vector<char> const tmp = ucs4_to_utf8(c);
- word.append(tmp.begin(), tmp.end());
- if (runparams.linelen > 0 &&
- currlinelen + word.length() > runparams.linelen)
- {
- os << "\n";
- pair<int, string> p = addDepth(depth, ltype_depth);
- os << p.second;
- currlinelen = p.first;
- }