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

pull/3809/head
Frode Austvik 6 years ago committed by Frans de Jonge
parent e21fe55042
commit f36d93a8f7

@ -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)

Loading…
Cancel
Save