As Bill says, this is just the default behaviour of the editor. I never noticed it and don't think it a serious problem. If there were a trivial fix, we would make it, but I would be reluctant to examine each keystroke and only accept those approved by us.
On Sat, Jun 8, 2013 at 11:59 PM, Raul Miller <[email protected]> wrote: > Some issues which might matter here include operating system and > whether the numbers are from the numeric keypad or whether they are > from the regular part of keyboard. > > Another issue which might matter has to do with level of abstraction: > > ASCII includes "control characters" which correspond to characters > 64..95 (which includes capital letters, but does not include digits). > If jqt is asking for ascii characters, then control+digit is probably > not meaningful. But if this were the case control-a and > shift-control-a would probably be indistinguishable. > > To get all of the possible character code + modifier key combinations, > we would have to deal with a lower level interface, and perhaps also > deal with keydown and keyup events (and I am not sure that all > keyboards use the same system here - I know, for example, that some > keyboards can accurately report when two different letters are pressed > together while other keyboards cannot properly distinguish this case.) > > -- > Raul > > On Sat, Jun 8, 2013 at 11:33 AM, Henry Rich <[email protected]> wrote: > > I have just looked at every ctrl combination on Win XP. Here is my > report. > > Before the : are the keys tested, after the : are the characters that > were > > inserted into the script, i. e. not treated as controls. > > > > ctrl+ `1234567890-= : `123457890= > > > > ctrl+shift+ `1234567890-= : `123457890= > > > > ctrl+ TABqwertyuiop[]\ : TAB > > > > ctrl+shift+ TABqwertyuiop[]\ : TAB[]\ > > > > ctrl+ asdfghjkl;' : ;' > > > > ctrl+shift+ asdfghjkl;' : ;' > > > > ctrl+ zxcvbnm,./ : ,./ > > > > ctrl+shift+ zxcvbnm,./ : ,./ > > > > shift is never honored on non-alphabetics, but ctrl+[]\ is ignored while > > ctrl+shift+[]\ produces an unshifted character. > > > > Considering how disastrous a single extra character can be in a J > script, I > > think these ought to be ignored. > > > > Henry Rich > > > > > > > > On 6/8/2013 11:09 AM, bill lam wrote: > >> > >> I tested on linux, only 1 9 0 were echoed, other digits were > >> ignored. Anyway I guess this is the default behavior of Qt > >> unless there are some code to overriding it. > >> > >> Сб, 08 июн 2013, Henry Rich писал(а): > >>> > >>> The J8 IDE seems to treat ctrl+digit as if the ctrl were omitted, and > >>> inserts the digit character into the script. Isn't this the wrong > >>> behavior? I think the combination should be treated as an > >>> unsupported ctrl key, and quietly ignored. > >>> > >>> Henry Rich > >>> ---------------------------------------------------------------------- > >>> For information about J forums see http://www.jsoftware.com/forums.htm > >> > >> > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
