Rename cancel_operation to do_cancel_operation
@@ -901,7 +901,7 @@ impl Editor {
}
}
- fn cancel_operation(&mut self) {
+ fn do_cancel_operation(&mut self) {
self.view.unset_find();
self.view.collapse_selections(&self.text);
}
@@ -982,7 +982,7 @@ impl Editor {
FindPrevious { wrap_around } => self.do_find_next(true, wrap_around.unwrap_or(false), true),
DebugRewrap => self.debug_rewrap(),
DebugPrintSpans => self.debug_print_spans(),
- CancelOperation => self.cancel_operation(),
+ CancelOperation => self.do_cancel_operation(),
};
self.cmd_postlude();
