#1184 fix case mapping for editing keys / FIX

open
5
2012-12-04
2007-05-05
Anonymous
No

This is for windows but it would be the same issue for linux.

Issue: Screwy case sensitivity for important accellerator keys.

I suspect the xmaxima file gets converted to tcl somehow, but I can't find the expected text inside the xmaxima.exe file.

There's a problem, kids and it's that the upper case 'g' won't break out of program and it's the same problem for the edit keys like copy/paste, undo, and whatever else.

I'm pretty sure that just duplicating the lines and adding a capital letter will probably compile/translate or somehow convert to the correct tcl code.

These keys are defined at line:
3579
bind $w <Control-w> $dismiss
add
bind $w <Control-W> $dismiss

and at line 9239 the alpha could be dealt with the saem way.

bind CNtext <Control-g> "CMinterrupt %W "
bind CNtext <Control-u> "CNclearinput %W "
bind CNtext "\)" "CNblinkMatchingParen %W %A"
bind CNtext "\]" "CNblinkMatchingParen %W %A"
bind CNtext "\}" "CNblinkMatchingParen %W %A"
bind CNtext <Control-j> "tkTextInsert %W %A ; openMathAnyKey %W %K %A"
bind CNtext <Alt-p> "CNpreviousInput $w -1"
bind CNtext <Alt-n> "CNpreviousInput $w 1"
bind CNtext <Alt-s> {sendMaxima %W ":s\n" }
bind CNtext <Control-Key-c> {tk_textCopy %W ;break}
bind CNtext <Control-Key-x> {tk_textCut %W ;break}
bind CNtext <Control-Key-v> {tk_textPaste %W ;break}

Again, I can't prove this because it appears thet the xmaxima.exe file uses some other source, perhaps compiled tcl code, but this is what I'd do if I could get it into the exe.

Discussion

  • Robert Dodier
    Robert Dodier
    2007-05-06

    • assigned_to: nobody --> villate
    • summary: fix case mapping for editing keys --> fix case mapping for editing keys / FIX