From dfa72e2844df81d471bb1e075369de108d569bbf Mon Sep 17 00:00:00 2001 From: XDeme Date: Sat, 1 Jun 2024 09:30:00 -0300 Subject: [PATCH] Fix non linux --- crates/gpui/src/input.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/gpui/src/input.rs b/crates/gpui/src/input.rs index 5fee6e2ceb..7b6949d06d 100644 --- a/crates/gpui/src/input.rs +++ b/crates/gpui/src/input.rs @@ -15,7 +15,6 @@ pub trait ViewInputHandler: 'static + Sized { /// See [`InputHandler::selected_text_range`] for details fn selected_text_range(&mut self, cx: &mut ViewContext) -> Option>; - #[cfg(target_os = "linux")] /// Returns the current selection head position. fn selection_position(&mut self, cx: &mut ViewContext) -> usize;