[Fix] Make ScrollTextWidget:moveCursor return the new charpos. (#3808)

This commit is contained in:
Frode Austvik
2018-03-28 10:52:35 +02:00
committed by Frans de Jonge
parent e21fe55042
commit f36d93a8f7

View File

@@ -93,7 +93,7 @@ function ScrollTextWidget:focus()
end
function ScrollTextWidget:moveCursor(x, y)
self.text_widget:moveCursor(x, y)
return self.text_widget:moveCursor(x, y)
end
function ScrollTextWidget:scrollText(direction)