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

Close window when closing document #2520

Closed
DePasqualeOrg opened this issue Mar 8, 2021 · 2 comments
Closed

Close window when closing document #2520

DePasqualeOrg opened this issue Mar 8, 2021 · 2 comments

Comments

@DePasqualeOrg
Copy link

Currently, when closing a document (at least on macOS), Mark Text shows a window with a "New File" button. Other text editors simply close the window and get out of the way when a document is closed. The current behavior in Mark Text is counterintuitive and not very useful in my opinion. Furthermore, the keyboard command (Command-W) to close the document does not work on the "New File" window, which is also counterintuitive. I'd like to suggest adopting the behavior of text editors like Sublime and simply closing the window when the user closes the document.

@DejayRezme
Copy link

The current behavior might make sense when you open all documents in one window, but if you select "open document in new window" you expect that new window to close.

Alternatively you could not close ALL windows with Ctrl-Q.

Right now there seems to be no way to open a document, do a quick edit then save and close it without leaving an empty window open or closing other mark text windows.

@Jocs
Copy link
Member

Jocs commented Jan 23, 2022

The current interaction is the same as VSCode, and we will also add some shortcut keys to the blank page later

@Jocs Jocs closed this as completed Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants