(&mut self, text: &str)
| 205 | } |
| 206 | |
| 207 | pub fn insert_paste(&mut self, text: &str) { |
| 208 | let normalized = text.replace("\r\n", "\n").replace('\r', "\n"); |
| 209 | for c in normalized.chars() { |
| 210 | self.handle_char(c); |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | // ── Visual line calculation (for dynamic height and cursor positioning) ── |
| 215 |
no test coverage detected