Mathematica Mathematica: text selection behavior

AI Thread Summary
The discussion highlights a frustrating issue with text selection in Mathematica, where users expect the cursor behavior to align with standard practices in other software. Specifically, when trying to deselect a character using the Shift key and arrow keys, users find that the selection does not behave as anticipated, leading to unintended selections. Despite the annoyance, there appears to be no straightforward way to customize this behavior within Mathematica, as it is hardcoded in the "KeyEventTranslations.tr" file. Users are seeking solutions or workarounds to improve this functionality, but no clear method has been identified yet.
FocusedWolf
Messages
81
Reaction score
0
Ok i love Mathematica... but theirs 1 ONE thing i hate about it...

if i select text... and let's say i typed "1234" and i select "23", but i only wanted to select "2"... so i assume Mathematica's cursor works like every other program in the world and press [shift]+Left... my goal is to un-select that "3"...

then for some unknown reason i got "123" selected,,,

ya i know... this is a basic example... but when the example is massive... this little thing drives me nuts because i selected one to many and have to give up and reselect!
 
Physics news on Phys.org
same problem

YEAH! I know exacly what you mean... this is very annoying thing.

If anyone know how I can rid of this, please let me know... this forum or email would be great. (hydrant@mailbox.sk)

thx
 
After an extensive search it seems there is no easy way to customize this behaviour in Mathematica. It is defined by

Item[KeyEvent["Right", Modifiers -> {Shift}], "SelectNext"],
Item[KeyEvent["Left", Modifiers -> {Shift}], "SelectPrevious"]

in the "KeyEventTranslations.tr" file. I was not able to find any "frontend tags" like DeselectPrevious, but perhaps it is possible to create one.

Any further guidance would be greatly appreciated.
 

Similar threads

Back
Top