Clear all header rows
(&mut self, cx: &mut Context<Self>)
| 204 | self.ensure_bulk_editor(window, cx); |
| 205 | if let Some(ref editor) = self.bulk_editor { |
| 206 | editor.update(cx, |state, cx| { |
| 207 | state.set_value(text, window, cx); |
| 208 | }); |
| 209 | } |
| 210 | self.bulk_mode = true; |
| 211 | cx.notify(); |
| 212 | } |
| 213 | |
| 214 | fn exit_bulk_mode(&mut self, window: &mut Window, cx: &mut Context<Self>) { |
| 215 | let text = self |
| 216 | .bulk_editor |
| 217 | .as_ref() |
| 218 | .map(|editor| editor.read(cx).text().to_string()) |
no test coverage detected