mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
Merge branch 'master' into highlighting
This commit is contained in:
commit
02b0104d56
1 changed files with 2 additions and 2 deletions
|
@ -528,7 +528,7 @@ public abstract class ZLTextView extends ZLTextViewBase {
|
|||
y = getTopMargin();
|
||||
index = 0;
|
||||
for (ZLTextLineInfo info : lineInfos) {
|
||||
drawTextLine(page, info, labels[index], labels[index + 1]);
|
||||
drawTextLine(page, hilites, info, labels[index], labels[index + 1]);
|
||||
y += info.Height + info.Descent + info.VSpaceAfter;
|
||||
++index;
|
||||
if (index == page.Column0Height) {
|
||||
|
@ -883,7 +883,7 @@ public abstract class ZLTextView extends ZLTextViewBase {
|
|||
protected abstract ZLPaintContext.ColorAdjustingMode getAdjustingModeForImages();
|
||||
|
||||
private static final char[] SPACE = new char[] { ' ' };
|
||||
private void drawTextLine(ZLTextPage page, ZLTextLineInfo info, int from, int to) {
|
||||
private void drawTextLine(ZLTextPage page, List<ZLTextHighlighting> hilites, ZLTextLineInfo info, int from, int to) {
|
||||
final ZLPaintContext context = getContext();
|
||||
final ZLTextParagraphCursor paragraph = info.ParagraphCursor;
|
||||
int index = from;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue