mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-01 15:10:56 +00:00
parent
1edde7c1bc
commit
db69104f1a
@ -227,8 +227,8 @@ void Dialog::_delete_selection()
|
|||||||
_text.apply(first_y, [&] (Line &first) {
|
_text.apply(first_y, [&] (Line &first) {
|
||||||
|
|
||||||
if (cursor_at_deleted_line)
|
if (cursor_at_deleted_line)
|
||||||
_cursor = { .x = first.upper_bound(),
|
_cursor = { { first.upper_bound() },
|
||||||
.y = first_y };
|
{ first_y } };
|
||||||
|
|
||||||
_text.apply(next_y, [&] (Line &next) {
|
_text.apply(next_y, [&] (Line &next) {
|
||||||
_move_characters(next, first); });
|
_move_characters(next, first); });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user