(state: &EditorState, filter: &str, offset: usize)
| 3019 | } else { |
| 3020 | short |
| 3021 | } |
| 3022 | }) |
| 3023 | .collect::<Vec<_>>(); |
| 3024 | if lines.is_empty() { |
| 3025 | "text preview\n(empty)".to_string() |
| 3026 | } else { |
| 3027 | format!("text preview\n{}", lines.join("\n")) |
| 3028 | } |
| 3029 | } |
| 3030 | |
| 3031 | pub fn animation_drawer_text(state: &EditorState) -> (String, String, String, bool, bool) { |
no test coverage detected