BearToCode / mismerge

A modern merge editor for the Web
https://beartocode.github.io/mismerge/
MIT License
45 stars 2 forks source link

FR: Button to delete text in center pane if it's deleted on one side #16

Closed ilyagr closed 6 months ago

ilyagr commented 6 months ago

Let's say I'm in this state:

image

There is a nice button that allows me to move the insertion of a from the right pane the middle pane.

I'd like there to also be a nice button to move the deletion of c from the left pane to the middle pane.

P.S. I might file a few more FRs shortly. This is probably the most important of them, though.

I'm currently trying to make a diff editor with the ancient https://codemirror.net/5/demo/merge.html. mismerge is the best alternative to it I found, and I thought I'd record my wishlist for it. Thanks for making it! It's a pretty UI.

BearToCode commented 6 months ago

Hi @ilyagr , I'm glad you like the editor! I'll try to add the features you requested, as they seem pretty simple to implement. I'd also like to rewrite some parts of the editor to make it easier for other people to contribute.

github-actions[bot] commented 6 months ago

:tada: This issue has been resolved in version @mismerge/core-v1.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

ilyagr commented 6 months ago

It works. Very nice :)