|
|
|
@ -259,7 +259,11 @@ class PageView(context: Context) : FrameLayout(context) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun selectStartMoveIndex(relativePage: Int, lineIndex: Int, charIndex: Int) { |
|
|
|
|
binding.contentTextView.selectStartMoveIndex(relativePage, lineIndex, charIndex) |
|
|
|
|
try { |
|
|
|
|
binding.contentTextView.selectStartMoveIndex(relativePage, lineIndex, charIndex) |
|
|
|
|
} catch (e: Exception) { |
|
|
|
|
print("selectStartMoveIndex($relativePage, $lineIndex, $charIndex)") |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun selectEndMove(x: Float, y: Float) { |
|
|
|
@ -267,7 +271,11 @@ class PageView(context: Context) : FrameLayout(context) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun selectEndMoveIndex(relativePage: Int, lineIndex: Int, charIndex: Int) { |
|
|
|
|
binding.contentTextView.selectEndMoveIndex(relativePage, lineIndex, charIndex) |
|
|
|
|
try { |
|
|
|
|
binding.contentTextView.selectEndMoveIndex(relativePage, lineIndex, charIndex) |
|
|
|
|
} catch (e: Exception) { |
|
|
|
|
print("selectEndMoveIndex($relativePage, $lineIndex, $charIndex)") |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun cancelSelect() { |
|
|
|
|