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

Optimize toggle run time #28

Merged
merged 2 commits into from
Mar 5, 2017

Conversation

joranvar
Copy link
Contributor

This should make calling "toggle-all" in larger files much quicker.

This function does not return 0 on "invisible" lines, so that we can
use the quicker (forward-line) again.
@joranvar
Copy link
Contributor Author

joranvar commented Aug 17, 2016

Please do not merge yet. I just found out that I may have introduced a bug. Will check and fix this later!

@joranvar joranvar closed this Aug 17, 2016
@joranvar joranvar reopened this Aug 17, 2016
@joranvar
Copy link
Contributor Author

There is a bug, but it seems to have been there before. Will add a test case and try to fix that in a separate branch.

@joranvar joranvar closed this Aug 17, 2016
@joranvar joranvar reopened this Aug 17, 2016
@zenozeng zenozeng merged commit 44da0af into zenozeng:master Mar 5, 2017
@zenozeng
Copy link
Owner

zenozeng commented Mar 5, 2017

Test failed on emacs25-nox.

See also: https://circleci.com/gh/zenozeng/yafolding.el/13

@zenozeng
Copy link
Owner

zenozeng commented Mar 5, 2017

Seems yafolding-get-element-region returns wrong end. Reverted to previous version.

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