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

Start with an empty page #51

Open
azzamsa opened this issue Aug 6, 2024 · 2 comments
Open

Start with an empty page #51

azzamsa opened this issue Aug 6, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@azzamsa
Copy link

azzamsa commented Aug 6, 2024

Meld is allowed to start with an empty page.
Sometimes I use it to show the diff between non-technical documents from my clipboard.
But, diffedit3 refuses to open without initial documents.

🦄 diffedit3
Must have 2 or 3 dirs to compare, got 0 dirs instead
@ilyagr ilyagr added the enhancement New feature or request label Aug 6, 2024
@ilyagr
Copy link
Owner

ilyagr commented Aug 6, 2024

This should be possible. The main limitation is that there is no "save as" yet. I'm not sure whether it's better to show an error when the user tries to save or to create three files in a temporary dir, maybe.

This is also related to another feature I have in mind, to allow passing file paths to diffedit3 instead of dirs, so that you get one set of three panes that gets maximized by default.

@ilyagr
Copy link
Owner

ilyagr commented Sep 1, 2024

This case would also be special in that it'd be the only case where the left/right panes are editable. That's probably OK, but requires some minor change to the front-end in addition to the back-end changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants