Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Speed up marker snapshotting by allowing markers to opt out of it - #71

Merged
maxbrunsfeld merged 3 commits into
masterfrom
mb-smaller-snapshots
Jun 5, 2015
Merged

maxbrunsfeld merged 3 commits into
masterfrom
mb-smaller-snapshots

Conversation

@maxbrunsfeld

Copy link
Copy Markdown
Contributor

This adds a new boolean option called maintainHistory to TextBuffer::markRange and ::markPosition. If set to false, the marker will not be snapshotted in the undo/redo history. This alleviates a major performance problem in Atom when there is a large find-and-replace search.

maxbrunsfeld pushed a commit that referenced this pull request Jun 5, 2015
Speed up marker snapshotting by allowing markers to opt out of it
@maxbrunsfeld
maxbrunsfeld merged commit 8132d94 into master Jun 5, 2015
@maxbrunsfeld
maxbrunsfeld deleted the mb-smaller-snapshots branch June 5, 2015 23:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant