Scribus Forums

Development => Code => Topic started by: a.l.e on January 30, 2025, 03:32:50 PM

Title: Keyboard shortcuts for bold and italics
Post by: a.l.e on January 30, 2025, 03:32:50 PM
Recently, I've seen people asking again for Scribus having shortcuts for bold and italics.

I gave my standard answer ("it's more complicated than you think"). I also wrote about two possible workarounds (one works in 1.7 -- adding a python script in the script menu and using the action search -- the other needs a patch that is in pending review in the bug tracker, using the style applier based on the action search).
The explanation had a few more details than usual.

After having written that, I was inspired to sketch a way to implement this feature in a "simpler" way.

In short:


Here some more details



My plan is to let defined The rules in the document settings (and maybe also in the preferences: people use different fonts and styles in different documents; not sure how useful global rules can be).
It will be possible to export and import the rules and it should be possible to inherit them by using document templates.

Here a list of tickets that relate to this feature:


I've created a first draft of the configuration dialog:

bold-italics.png

VoilĂ : any feedback?
Title: Re: Keyboard shortcuts for bold and italics
Post by: a.l.e on March 08, 2025, 09:55:04 AM
some references to existing tickets: