Fix non linux

This commit is contained in:
XDeme
2024-06-01 09:30:00 -03:00
parent 7136d46783
commit dfa72e2844

View File

@@ -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<Self>) -> Option<Range<usize>>;
#[cfg(target_os = "linux")]
/// Returns the current selection head position.
fn selection_position(&mut self, cx: &mut ViewContext<Self>) -> usize;