29 name(), indentChars(i), lastLineType(t)
66 this->
line(std::string(
"} // ") + comment);
84 for (
auto& l : docLines)
86 lineInternal(l,
indent + indentDelta);
104 for (
auto& l : docLines)
106 lineInternal(l,
indent + indentDelta);
136 void Lines::lineInternal(
const std::string& line,
int indent)
138 for (
int i = 0; i <
indent; i++)
157 for (std::string line : docLines)
159 while (line.size() > maxTextWidth)
161 auto pos = line.rfind(
" ", maxTextWidth);
162 linesOut.push_back(line.substr(0, pos));
166 linesOut.push_back(line);
172 std::stringstream ss;