// TODO: that function does interpret VAlign according to line-index (indexed line is placed on top-center-bottom)
BrokenText.push_back(line);
// but HAlign according to line-width (pixels) and not by row.
BrokenTextPositions.push_back(lastLineStart);
// Intuitively I suppose HAlign handling is better as VScrollPos should handle the line-scrolling.
}
// But please no one change this without also rewriting (and this time fucking testing!!!) autoscrolling (I noticed this when fixing the old autoscrolling).
voidCGUIEditBox::setTextRect(s32line)
// TODO: that function does interpret VAlign according to line-index (indexed line is placed on top-center-bottom)
{
// but HAlign according to line-width (pixels) and not by row.
if(line<0)
// Intuitively I suppose HAlign handling is better as VScrollPos should handle the line-scrolling.
return;
// But please no one change this without also rewriting (and this time fucking testing!!!) autoscrolling (I noticed this when fixing the old autoscrolling).