(&mut self, index: usize, cx: &mut Context<Self>)
| 59 | fn ensure_bulk_editor(&mut self, window: &mut Window, cx: &mut Context<Self>) { |
| 60 | if self.bulk_editor.is_none() { |
| 61 | let completion_engine = self.completion_engine.clone(); |
| 62 | self.bulk_editor = Some(cx.new(|cx| { |
| 63 | configure_completion( |
| 64 | InputState::new(window, cx) |
| 65 | .code_editor(BULK_KV_LANGUAGE) |
| 66 | .line_number(true) |
| 67 | .searchable(true) |
| 68 | .soft_wrap(false) |
| 69 | .placeholder("key: value"), |