Clone editor's searchable state on split

This commit is contained in:
Nathan Sobo 2022-02-27 09:48:46 -07:00
parent 136699e7bd
commit dabb17a2ef

View file

@ -850,6 +850,7 @@ impl Editor {
clone.scroll_position = self.scroll_position;
clone.scroll_top_anchor = self.scroll_top_anchor.clone();
clone.nav_history = Some(nav_history);
clone.searchable = self.searchable;
clone
}