left right fix
@@ -653,6 +653,7 @@ pub fn prev_grapheme_offset(
return new_offset;
}
new_offset = prev_offset;
+ cursor.set(prev_offset);
} else {
return new_offset;
}
@@ -674,6 +675,7 @@ pub fn next_grapheme_offset(
return new_offset;
}
new_offset = next_offset;
+ cursor.set(next_offset);
} else {
return new_offset;
}
