mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
9b16db6032
commit
89cdcc39cd
9 changed files with 203 additions and 497 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue