mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
RichText: Fixed table selection issues
git-svn-id: svn://ultimatepp.org/upp/trunk@6592 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4f65f39eed
commit
0ac2ebf109
8 changed files with 139 additions and 12 deletions
|
|
@ -35,7 +35,7 @@ void RichText::Paint(PageDraw& w, PageY py, const Rect& page, const PaintInfo& p
|
|||
py.y = ctx.page.top;
|
||||
ctx.py = py;
|
||||
RichTxt::Paint(w, ctx, pi);
|
||||
PaintHeaderFooter(w, page, pi, from_page, ctx.py.page, 9999);
|
||||
PaintHeaderFooter(w, page, pi, from_page, ctx.py.page);
|
||||
}
|
||||
|
||||
void RichText::Paint(PageDraw& w, const Rect& page, const PaintInfo& pi) const
|
||||
|
|
@ -43,7 +43,7 @@ void RichText::Paint(PageDraw& w, const Rect& page, const PaintInfo& pi) const
|
|||
RichContext ctx = Context(page);
|
||||
int from_page = ctx.py.page;
|
||||
RichTxt::Paint(w, ctx, pi);
|
||||
PaintHeaderFooter(w, page, pi, from_page, ctx.py.page, 9999);
|
||||
PaintHeaderFooter(w, page, pi, from_page, ctx.py.page);
|
||||
}
|
||||
|
||||
RichCaret RichText::GetCaret(int pos, const Rect& page) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue