Toggle header enabled state
(&mut self, index: usize, cx: &mut Context<Self>)
| 216 | .bulk_editor |
| 217 | .as_ref() |
| 218 | .map(|editor| editor.read(cx).text().to_string()) |
| 219 | .unwrap_or_default(); |
| 220 | let entries = parse_bulk_kv(&text); |
| 221 | self.replace_from_bulk_entries(entries, window, cx); |
| 222 | self.bulk_mode = false; |
| 223 | cx.notify(); |
| 224 | } |
| 225 | |
| 226 | fn sync_headers_from_request(&mut self, cx: &mut Context<Self>) { |