Merge pull request #2168 from koreader/houqp-master

scrolltextwidget(fix): add moveCursor method
pull/2182/head
Huang Xin 8 years ago committed by GitHub
commit 06bd4d7afc

@ -80,6 +80,10 @@ function ScrollTextWidget:focus()
self.text_widget:focus()
end
function ScrollTextWidget:moveCursor(x, y)
self.text_widget:moveCursor(x, y)
end
function ScrollTextWidget:scrollText(direction)
if direction == 0 then return end
local low, high

Loading…
Cancel
Save