- From: Ramzi Guetari <Ramzi.Guetari@w3.org>
- Date: Wed, 26 Jan 2000 12:14:05 +0000
- To: reagle@w3.org, www-amaya@w3.org
In-reply-to: Your message of Mon, 24 Jan 2000 13:44:52 -0500."
<3.0.5.32.20000124134450.00bcb100@localhost>
Hi Joseph,
The shortcuts parser was basically written for Unix version of Amaya.
However, Windows does not handle inputs in the same way than Unix.
For instance Ctrl <Key>Return: is handled as a sequence on Unix. Windows
consider Ctrl Return as a special character which code is 0xA (10).
I think that your problem is the same than Ctrl <Key>Return. I'll try to
solve that but I think that while the parser of Shortcuts is shared
between Unix and Windows, we will always have such problems.
>I still can't get keyboard files to work under windows -- just tried with
>2.4 Sometimes I think it's a syntax error on my part or I think it's a
>parser error -- the actual function names appear next to menu items as the
>keybaord shortcut. Also, the errors are invariant and non-deterministic...
>
>For instance, I can't get the file below to work [1] properly. It frequently
>exhibits it most weird behaviour around the following:
>
>Ctrl <Key>6: ShowStructure()
>Ctrl <Key>7: ShowAlternate()
>
>Which makes me think the parser is picking up the "Alt" in "ShowAlternate"?
>
>[1]
>
>#moving commands
><Key>Home: TtcPageTop()
><Key>End: TtcPageEnd()
><Key>Up: TtcPreviousLine()
><Key>End: TtcPageEnd()
><Key>Escape: TtcParentElement()
>Ctrl <Key>Down: TtcNextElement()
>Ctrl <Key>Up: TtcPreviousElement()
>Ctrl <Key>Left: TtcParentElement()
>Ctrl <Key>Right: TtcChildElement()
>Ctrl <Key>a: TtcStartOfLine()
>Ctrl <Key>e: TtcEndOfLine()
>
>#file menu
>Ctrl <Key>o: OpenDocInNewWindow()
>Ctrl <Key>r: Reload()
>Alt <Key>Left: GotoPreviousHTML()
>Alt <Key>Right: GotoNextHTML()
>Ctrl <key>h: GoToHome()
>Ctrl <Key>s: SaveDocument()
>Ctrl <Key>y: Synchronize()
>Ctrl <Key>p: SetupAndPrint()
>Ctrl <Key>n: New()
>Ctrl <Key>w: CloseDocument()
>
>#action menu
>Alt <Key>Return: DoAction()
>
>#edit menu
>Ctrl <Key>z: TtcUndo()
>Ctrl <Key>x: TtcCutSelection()
>Ctrl <Key>c: TtcCopySelection()
>Ctrl <Key>v: TtcPaste()
>Ctrl <Key>f: TtcSearchText()
><Key>Delete: TtcDeleteSelection()
>Ctrl <Key>d: TtcDeleteSelection()
><Key>Return: TtcCreateElement()
><Key>F7: SpellCheck()
>
>#structure menu
>
>#types menu
>Ctrl <Key>i: CreateImage()
>Ctrl <key>i: CreateBlockQuote()
>
>#heading submenu
>Ctrl <Key>1: CreateHeading1()
>Ctrl <Key>2: CreateHeading2()
>Ctrl <Key>3: CreateHeading3()
>Ctrl <Key>4: CreateHeading4()
>Ctrl <Key>5: CreateHeading5()
>
>#links menu
>Ctrl <Key>a: CreateTarget()
>Ctrl <Key>k: CreateOrChangeLink()
>
>#views menu
>Ctrl <Key>=: ZoomIn()
>Ctrl <Key>-: ZoomOut()
>Ctrl <Key>6: ShowStructure()
>Ctrl <Key>7: ShowAlternate()
>Ctrl <key>8: ShowSource()
>
>#formatting
>Ctrl <Key>b: CreateElemStrong()
>Ctrl <Key>i: CreateElemEmphasis()
>Ctrl <Key>t: CreateElemCode()
>Ctrl <Key>q: CreateBlockQuote()
>
_________________________________________________________
Joseph Reagle Jr.
Policy Analyst mailto:reagle@w3.org
XML-Signature Co-Chair http://www.w3.org/People/Reagle/
Ramzi.
--
Ramzi GUETARI | Tel: (33) 4 76 61 52 38
World Wide Web Consortium / INRIA | Fax: (33) 4 76 61 52 52
655 Avenue de l'Europe | e-mail: Ramzi.Guetari@w3.org
38330 Montbonnot Saint Martin - France | http://www.w3.org
http://www.inrialpes.fr/opera/people/Ramzi.Guetari
Received on Wednesday, 26 January 2000 06:03:25 UTC