Merge pull request #2168 from koreader/houqp-master

scrolltextwidget(fix): add moveCursor method
This commit is contained in:
Huang Xin authored and GitHub committed 2016-07-19 14:04:59 +08:00
commit 06bd4d7afc
1 file changed
+4
+4
View File
@@ -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