MathGroup Archive 2002

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

Search the Archive

Question KeyEventTranslation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36762] Question KeyEventTranslation
  • From: phbrf at t-online.de (Peter Breitfeld)
  • Date: Mon, 23 Sep 2002 03:33:05 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I put the following in .../.../KeyEventTranslations.tr:

Item[KeyEvent["<",Modifiers->{Control}],
      FrontEndExecute[{
         FrontEnd`NotebookWrite[FrontEnd`SelectedNotebook[],
            "\[LeftDoubleBracket]\[RightDoubleBracket]",After]}]],

to make it easy to insert the double-brackets. This works fine, but I
want the cursor to be placed between the brackets not after them. How
can this be done?
Gru\137 Peter
--
=--=--=--=--=--=--=--=--=--=--=--=--=--= http://home.t-online.de/home/phbrf
 Peter Breitfeld, Bad Saulgau, Germany   Meinen GnuPG/PGP-5x Key gibts dort


~
~
~


  • Prev by Date: How to export plain text numbers!?
  • Next by Date: Re: Could someone verify a long Pi calculation in Version 4 for me?
  • Previous by thread: Re: How to export plain text numbers!?
  • Next by thread: Re: Question KeyEventTranslation