pull/737/head
Robot 4 years ago
commit bea723afed
  1. 13
      app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt

@ -338,8 +338,17 @@ class ReadView(context: Context, attrs: AttributeSet) :
}
end -= 1
}
curPage.selectStartMoveIndex(firstRelativePage, lineStart, start)
curPage.selectEndMoveIndex(firstRelativePage, lineEnd, end)
try {
curPage.selectStartMoveIndex(firstRelativePage, lineStart, start)
curPage.selectEndMoveIndex(firstRelativePage, lineEnd, end)
} catch (e: Exception) {
print(
"""
curPage.selectStartMoveIndex($firstRelativePage, $lineStart, $start)
curPage.selectEndMoveIndex($firstRelativePage, $lineEnd, $end)
""".trimIndent()
)
}
}
}

Loading…
Cancel
Save