Skip to content

Commit

Permalink
mv
Browse files Browse the repository at this point in the history
  • Loading branch information
dm0n3y committed Nov 8, 2024
1 parent 8d66284 commit 8fe2efd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/core/structure/Cell.re
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ let rec mark_degrouted = (~side: Dir.t, c: t) =>
{...c, meld: Some(M(l, w, r))};
}
};
let unmark_degrouted = (c: t) => {
let marks = {...c.marks, degrouted: Path.Map.empty};
{...c, marks};
};

let rec end_path = (~sans_padding=false, ~side: Dir.t, c: t) =>
switch (c.meld) {
Expand Down Expand Up @@ -257,11 +261,6 @@ module Space = {
};
let is_space = c => Option.is_some(get(c));

let unmark_degrouted = (c: t) => {
let marks = {...c.marks, degrouted: Path.Map.empty};
{...c, marks};
};

let mk = (cs: list(t), ts: list(Token.t)) =>
switch (cs, ts) {
| ([c], []) => c
Expand Down

0 comments on commit 8fe2efd

Please sign in to comment.