CodingFriends / Tincta

Tincta is a one-window text editor for macOS with focus on speed, stability and ease of use.
https://codingfriends.github.io/Tincta/
MIT License
149 stars 21 forks source link

Save Dialog #36

Closed jdoej closed 2 years ago

jdoej commented 4 years ago

Change the behavior of the save dialog window so people can delete using Command+D instead of having to navigate with a mouse. Enclosed is a screengrab showing how TextWrangler would allow you to use Command+D to delete the file you were working on. textwrangler-10.14-cmd_d.mp4.zip

greimers commented 4 years ago

Thanks for the details. I am very sure that TextWrangler is a Carbon app and either uses some old Carbon API for the save dialog or they actually create the save dialog themselves.

For Tincta as a native Cocoa app, we use the system provided save dialog which does not allow such customization. I think it is not an option to write a custom save dialog because file browsing is not possible for a sandboxed app without the system dialog. We could show an additional dialog before the actual save dialog, but that would require two clicks and degrade user experience.

In fact, I am wondering if any app distributed in the App Store offers the TextWranger like behavior. If anybody has any more hints on this, please let us know.

jdoej commented 4 years ago

Hi - I just discovered you can use a feature in Systems Preferences >> Keyboard >> Shortcuts: Use keyboard navigation to move focus between controls. Thank you. tincta-keyboard_nav.mp4.zip