-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
The documentation editing tool with changes to support it. #2518
Conversation
I'd rather it not be an action as it clutters the list of available |
|
OK, I solved the calibre-debug -c by using if name == 'main'. The only problem is that it doesn't remember geometry, but that isn't a huge problem. |
FWIW: with this code:
I get this exception when exiting
It leaves the temp directory undeleted. |
Pushed commit to remove the action and to add the main code. |
Do you object to a non-action keyboard shortcut defined in gui2.ui, similar to 'Minimize the calibre window' and 'focus book list'? This allows someone to easily get to the editor without cluttering up the list of actions. I'd make it discoverable via a comment in formatter_functions.py. |
On Wed, Nov 13, 2024 at 06:52:46AM -0800, Charles Haley wrote:
Do you object to a non-action keyboard shortcut defined in gui2.ui, similar to 'Minimize the calibre window' and 'focus book list'? This allows someone to easily get to the editor without cluttering up the list of actions. I'd make it discoverable via a comment in formatter_functions.py.
That's fine as long as it either defaults to no shortcut or a very
obscure shortcut. Use gui.keyboard.register_shortcut() for it.
|
It is an action so it can be opened easily, should a document writer want to use it. It is also available in the Stored templates / User functions dialog.
It is possible that no one other than me will use it. :)