[fix] Update charpos in InputText after moving the cursor up/down. (#3874)
This commit is contained in:
1 parent
46a2571d3f
commit
2dc508537c
3 files changed
+12
-2
No files matched your search
@@ -96,6 +96,14 @@ function ScrollTextWidget:moveCursor(x, y)
|
||||
return self.text_widget:moveCursor(x, y)
|
||||
end
|
||||
|
||||
function ScrollTextWidget:moveCursorUp()
|
||||
return self.text_widget:moveCursorUp();
|
||||
end
|
||||
|
||||
function ScrollTextWidget:moveCursorDown()
|
||||
return self.text_widget:moveCursorDown();
|
||||
end
|
||||
|
||||
function ScrollTextWidget:scrollText(direction)
|
||||
if direction == 0 then return end
|
||||
local low, high
|
||||
|
||||
Reference in new issue
Block a user