Thread: Possible bug?
View Single Post
Old 09-17-2021, 03:20 PM   #142
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,920
Karma: 6240958
Join Date: Nov 2009
Device: many
It is not that easy. All other actions registered for keyshortcuts have fixed, translatable strings representing their functions known at compile time. There is a one to one mapping of action and function.

For clips, we do not know what name/function they will have only an action number (by clip number) at compile time. So using our current mechanism we assign shortcuts to actions/functions which are clip numbers.

Nothing else is available at compile time.

This is why and how we handle keyboard shortcuts for the first 10 plugins in the same way.

This is not something I am interested in changing. BeckyEbook's approach seems to make the most sense to me.

Last edited by KevinH; 09-17-2021 at 03:34 PM.
KevinH is offline   Reply With Quote