MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Select text with keyboard?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102758] Re: Select text with keyboard?
  • From: "Chris Degnen" <degnen at cwgsy.net>
  • Date: Wed, 26 Aug 2009 07:43:55 -0400 (EDT)
  • References: <h5nhsi$8nh$1@smc.vnet.net>

Matt <chezng at gmail.com> wrote:
 
> Mathematica is the only app i know that, when holding shift and
> pressing the left cursor key, expands the start of the selection!

The mathematica convention is sensible for selecting enclosed
text.  If you want to try some customisation, the key bindings
are in KeyEventTranslations.tr, in (Windows):

C:\Program Files\Wolfram Research\Mathematica\7.0\SystemFiles\...
FrontEnd\TextResources\Windows\KeyEventTranslations.tr

or more generically:

ToFileName[{$TopDirectory, "SystemFiles", "FrontEnd",
  "TextResources", LinkWrite[$ParentLink,
   FrontEnd`Value["$SystemID"]]; LinkRead[$ParentLink]},
  "KeyEventTranslations.tr"]


Relevant bindings are in the paragraph (* Selections *):-


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

and

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



There is no SelectLeft or SelectRight token though.  Some of
the tokens are listed here, (e.g. the Edit Menu):

http://reference.wolfram.com/mathematica/guide/FrontEndTokens.html




  • Prev by Date: image from graphics3d - rid black line
  • Next by Date: using interpolating function as initial condition to Ndsolve
  • Previous by thread: Re: Select text with keyboard?
  • Next by thread: Re: Select text with keyboard?