|
|
|
@ -461,13 +461,17 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at |
|
|
|
|
invalidate() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private fun upSelectedStart(x: Float, y: Float, top: Float) = callBack.apply { |
|
|
|
|
private fun upSelectedStart(x: Float, y: Float, top: Float) { |
|
|
|
|
callBack.run { |
|
|
|
|
upSelectedStart(x, y + headerHeight, top + headerHeight) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private fun upSelectedEnd(x: Float, y: Float) = callBack.apply { |
|
|
|
|
private fun upSelectedEnd(x: Float, y: Float) { |
|
|
|
|
callBack.run { |
|
|
|
|
upSelectedEnd(x, y + headerHeight) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fun cancelSelect(fromSearchExit: Boolean = false) { |
|
|
|
|
val last = if (callBack.isScroll) 2 else 0 |
|
|
|
|