From 783046a3f55eb792dc894fcbd9bec3f44cdc0490 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 12 Apr 2026 16:10:58 -0400 Subject: [PATCH] selectable: silence unused method warning The is_selected method is reserved for future per-character highlight rendering when the module is fully integrated. Co-Authored-By: Proof of Concept --- src/user/selectable.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/user/selectable.rs b/src/user/selectable.rs index cb44d42..bb74520 100644 --- a/src/user/selectable.rs +++ b/src/user/selectable.rs @@ -327,6 +327,7 @@ impl SelectableTextState { } /// Check if a logical position is within the current selection. + #[allow(dead_code)] // Reserved for future per-character highlight rendering fn is_selected(&self, logical_line: usize, col: usize) -> bool { let Some(ref sel) = self.selection else { return false }; let (start, end) = sel.range();