Bug introduced in 10.2
- System: Linux
Once updated to 10.2, my Alt+} and Alt+) do not return a pair of brackets but a single right one, as if Alt is not pressed. Alt+] still works.
If you add this to your KeyEventTranslations.tr file it works on Linux (I only tested english keyboard layout):
Item[KeyEvent["}", Modifiers -> {Command, Shift}],
FrontEndExecute[{
FrontEnd`NotebookWrite[FrontEnd`InputNotebook[], "{", After],
FrontEnd`NotebookWrite[FrontEnd`InputNotebook[], "}", Before]
}]
],
Item[KeyEvent[")", Modifiers -> {Command, Shift}],
FrontEndExecute[{
FrontEnd`NotebookWrite[FrontEnd`InputNotebook[], "(", After],
FrontEnd`NotebookWrite[FrontEnd`InputNotebook[], ")", Before]
}]
],
If so desired (and if I find time) I could add this to the Shortcuts` package.
KeyEventTranslations.tr
are not the issue. Additionally, I added the standard header for bugs. $\endgroup$ctrl + 6
for nice superscript works. $\endgroup$