@@ -1016,6 +1016,12 @@ pub fn join_selections(cx: &mut Context) {
1016 doc.append_changes_to_history();
1016 doc.append_changes_to_history();
1019+pub fn keep_selections(cx: &mut Context) {
1020+ let doc = cx.doc();
1021+ // keep selections matching regex
1022+ // and another method for inverse
1021pub fn save(cx: &mut Context) {
1027pub fn save(cx: &mut Context) {