mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] Scroll to cursor when selecting up / down
This commit is contained in:
@@ -553,4 +553,5 @@ void TextArea::selectUpDown(bool up) {
|
||||
contentView()->moveCursorGeo(0, up ? -1 : 1);
|
||||
const char * newCursorLocation = contentView()->cursorLocation();
|
||||
contentView()->addSelection(up ? newCursorLocation : currentCursorLocation, up ? currentCursorLocation : newCursorLocation);
|
||||
scrollToCursor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user