interline_space = 1;
no_selection = false;
init_inset = true;
+ maxAscent = maxDescent = insetWidth = 0;
+ autoBreakRows = false;
}
interline_space = 1;
no_selection = false;
init_inset = true;
+ maxAscent = maxDescent = insetWidth = 0;
+ autoBreakRows = false;
}
row.pos = 0;
row.baseline = 0;
rows.push_back(row);
- if (maxWidth < 0) {
+ if (!autoBreakRows) {
for(p = 0; p < par->Last(); ++p) {
insetWidth += SingleWidth(pain, par, p);
SingleHeight(pain, par, p, asc, desc);
rows.push_back(row);
return;
}
+
bool is_first_word_in_row = true;
int cw,
lastWordWidth = 0;
+ maxWidth = buffer->getUser()->paperWidth();
for(p = 0; p < par->Last(); ++p) {
cw = SingleWidth(pain, par, p);
width += cw;