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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement counts #80

Merged
merged 21 commits into from
Jan 17, 2021
Merged

Implement counts #80

merged 21 commits into from
Jan 17, 2021

Conversation

kneasle
Copy link
Owner

@kneasle kneasle commented Jan 14, 2021

Implements counts in two places:

  • As a specifier for nodes, as in o3t inserting 3 trues as children of the cursor
  • Before a command, as in 3u to jump back 3 undo levels

@Kixunil, if you have the time to review this much code then that would be awesome - but there are plenty of unit tests for the changes (and I want to simplify them in future), so if you don't then that's fine.

Edit: This PR is wayyyy bigger than I thought it would be 馃槅. Perhaps moving all the unit tests around wasn't the best idea... but it's done now.

@Kixunil
Copy link
Contributor

Kixunil commented Jan 15, 2021

Unfortunately I don't have a lot of time lately. I may be able to look at it during weekend, not sure.

@kneasle
Copy link
Owner Author

kneasle commented Jan 15, 2021

It's fine - don't stress yourself over it. Most of it is of the janky-but-works type of code, but it'll be refactored into cleaner code along with other things...

@kneasle
Copy link
Owner Author

kneasle commented Jan 17, 2021

I think in the interest of avoiding mega-big merge conflicts, I'm gonna merge this this evening. If you happen to have a sudden desire to review ~1k lines of code then now is the time 馃榿.

@kneasle kneasle merged commit b5ec298 into master Jan 17, 2021
@kneasle kneasle deleted the counts branch January 17, 2021 22:43
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.

None yet

2 participants