Mathematica: text selection behavior

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
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.