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

editor/view: expose more efficient method for making change-style edits. #257

Open
eaburns opened this issue Apr 14, 2016 · 0 comments
Open
Milestone

Comments

@eaburns
Copy link
Owner

eaburns commented Apr 14, 2016

View.Do is expensive. It allows any edit to be made, even edits that changes the tracked marks. In order properly track the marks, View.Do does a complete refresh of the text and marks. Most edits made by T, are simple change-style edits that cannot affect marks. We should add a special method to efficiently make change-style edits without blocking on a complete refresh: View.Change(edit.Address, str string).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant