|
|
@ -461,12 +461,16 @@ class ContentTextView(context: Context, attrs: AttributeSet?) : View(context, at |
|
|
|
invalidate() |
|
|
|
invalidate() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun upSelectedStart(x: Float, y: Float, top: Float) = callBack.apply { |
|
|
|
private fun upSelectedStart(x: Float, y: Float, top: Float) { |
|
|
|
upSelectedStart(x, y + headerHeight, top + headerHeight) |
|
|
|
callBack.run { |
|
|
|
|
|
|
|
upSelectedStart(x, y + headerHeight, top + headerHeight) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun upSelectedEnd(x: Float, y: Float) = callBack.apply { |
|
|
|
private fun upSelectedEnd(x: Float, y: Float) { |
|
|
|
upSelectedEnd(x, y + headerHeight) |
|
|
|
callBack.run { |
|
|
|
|
|
|
|
upSelectedEnd(x, y + headerHeight) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
fun cancelSelect(fromSearchExit: Boolean = false) { |
|
|
|
fun cancelSelect(fromSearchExit: Boolean = false) { |
|
|
|