Skip to content

Treat modifications while in INSERT mode as a single undo stack#991

Merged
cxxxr merged 2 commits intolem-project:mainfrom
fukamachi:vi-undo-stack-merge
Aug 23, 2023
Merged

Treat modifications while in INSERT mode as a single undo stack#991
cxxxr merged 2 commits intolem-project:mainfrom
fukamachi:vi-undo-stack-merge

Conversation

@fukamachi
Copy link
Copy Markdown
Collaborator

No description provided.

Comment on lines +193 to +194
(setf (lem-base::buffer-edit-history buffer)
(make-array 0 :adjustable t :fill-pointer 0))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It may be a good idea to prepare an API for buffer-edit-history and use that.

@cxxxr cxxxr merged commit af7637c into lem-project:main Aug 23, 2023
@cxxxr
Copy link
Copy Markdown
Member

cxxxr commented Aug 23, 2023

Thank you!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants