diff options
author | 2020-03-24 21:46:20 +0100 | |
---|---|---|
committer | 2020-03-24 21:46:20 +0100 | |
commit | 6791c0b20820c104344a8456909be94d4530b43e (patch) | |
tree | 4687c3b73162eb101098448488bc3c9e644dbdb1 /native | |
parent | 857d65c1ce276e7c03157f5d271a44cd6a047a1f (diff) | |
download | iced-6791c0b20820c104344a8456909be94d4530b43e.tar.gz iced-6791c0b20820c104344a8456909be94d4530b43e.tar.bz2 iced-6791c0b20820c104344a8456909be94d4530b43e.zip |
Remove commented code in `text_input`
Diffstat (limited to 'native')
-rw-r--r-- | native/src/widget/text_input.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/native/src/widget/text_input.rs b/native/src/widget/text_input.rs index 9fc7c6e6..43e48d00 100644 --- a/native/src/widget/text_input.rs +++ b/native/src/widget/text_input.rs @@ -457,15 +457,6 @@ where 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 => { if platform::is_copy_paste_modifier_pressed(modifiers) { self.state.cursor.select_all(&self.value); |