RichText: Fixed table selection issues

git-svn-id: svn://ultimatepp.org/upp/trunk@6592 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-11-21 06:51:44 +00:00
parent 4f65f39eed
commit 0ac2ebf109
8 changed files with 139 additions and 12 deletions

View file

@ -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