Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Tree.RemoveStyle #158

Merged
merged 17 commits into from
Apr 16, 2024
Merged

Implement Tree.RemoveStyle #158

merged 17 commits into from
Apr 16, 2024

Conversation

humdrum
Copy link
Contributor

@humdrum humdrum commented Apr 12, 2024

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Additional documentation:


Checklist:

  • Added relevant tests or not required
  • Didn't break anything

@humdrum humdrum self-assigned this Apr 12, 2024
let actorID = editedAt.actorID
let value: TreeChangeValue = .attributesToRemove(attributesToRemove)

try self.traverseInPosRange(fromParent, fromLeft, toParent, toLeft) { token, _ in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be not much of a difference between ln586 inside func style(_ :, _ : , _ :) throws -> [TreeChange].
Maybe we can define a single function for them?

@humdrum humdrum merged commit cbde6a0 into main Apr 16, 2024
3 checks passed
@humdrum humdrum deleted the tree-remove-style branch April 16, 2024 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants