From 6791c0b20820c104344a8456909be94d4530b43e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 24 Mar 2020 21:46:20 +0100 Subject: Remove commented code in `text_input` --- native/src/widget/text_input.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'native/src/widget') 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); -- cgit