So as DiapDealer has already stated, Ctrl+Shift+1 must equate to Ctrl+! if the '!' is accessed via the shift of the 1.
So not all possible combinations of key sequences can be assigned as they are in fact not unique.
In our Sigil Preferences KeySequence routine we only have access to the modifiers used and the resulting text produced. So we detect Ctrl+Shift+1 as Ctrl+Shift+! since it detects the modifiers and the text function returns '!' not '1'.
We would have to have access to a keyboards mapping / layout to handle this properly and write it out as Ctrl+! or Ctrl+Shift+1 BUT not as Ctrl+Shift+!
I will look to see if raw scan codes can be used somehow.
|