Honor setting the selected range in addition to marking text

This commit is contained in:
Antonio Scandurra 2022-07-21 08:57:20 +02:00
parent f712dec4c0
commit eda60effed
3 changed files with 10 additions and 4 deletions

View file

@ -449,10 +449,12 @@ impl InputHandler for WindowInputHandler {
// TODO - do these need to be handled separately?
fn cancel_composition(&mut self) {
println!("cancel_composition()");
self.unmark_text();
}
fn finish_composition(&mut self) {
println!("finish_composition()");
self.unmark_text();
}
}