Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica: text selection behavior

  1. Feb 25, 2008 #1
    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!
  2. jcsd
  3. Apr 15, 2008 #2
    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)

  4. Nov 28, 2010 #3
    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook