Core: CoWork refactoring finished, RichText: Fixed issue with begin/infinite height text

git-svn-id: svn://ultimatepp.org/upp/trunk@10153 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-08-08 07:31:41 +00:00
parent 9b16db6032
commit 89cdcc39cd
9 changed files with 203 additions and 497 deletions

View file

@ -120,9 +120,8 @@ void RichTxt::Advance(int parti, RichContext& rc, RichContext& begin) const
rc.Page();
}
else {
rc.py.y += pp.before;
begin = rc;
rc.py.y += pp.cy + pp.after + pp.ruler;
rc.py.y += pp.before + pp.cy + pp.after + pp.ruler;
}
}
}