Remove commented code in text_input
This commit is contained in:
parent
857d65c1ce
commit
6791c0b208
1 changed files with 0 additions and 9 deletions
|
|
@ -457,15 +457,6 @@ where
|
||||||
self.state.is_pasting = None;
|
self.state.is_pasting = None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// I think this doesn't work with the current version of the clipboard lib
|
|
||||||
/*keyboard::KeyCode::C => {
|
|
||||||
if platform::is_copy_paste_modifier_pressed(modifiers) {
|
|
||||||
match self.state.cursor.selection_position() {
|
|
||||||
None => (),
|
|
||||||
Some((left, right)) => ()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
keyboard::KeyCode::A => {
|
keyboard::KeyCode::A => {
|
||||||
if platform::is_copy_paste_modifier_pressed(modifiers) {
|
if platform::is_copy_paste_modifier_pressed(modifiers) {
|
||||||
self.state.cursor.select_all(&self.value);
|
self.state.cursor.select_all(&self.value);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue