PDA

View Full Version : Mathematica: text selection behavior


FocusedWolf
Feb25-08, 07:51 PM
Ok i love Mathematica... but theirs 1 ONE thing i hate about it...

if i select text... and lets 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!

hydrant
Apr15-08, 11:26 AM
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

wasia
Nov28-10, 04:48 AM
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.