jEdit Community - Resources for users of the jEdit Text Editor
Keyboard shortcuts mapping incorrect with dvorak configuration
Submitted by chovain on Monday, 21 May, 2007 - 04:30
I am running Jedit 4.2 on a Suse system. I think it is running with JRE 1.6 (That's the jre on my path), but I'm not sure how to confirm which version jedit is running with.

My machine is configured with a Dvorak key mapping. This works fine when I'm typing into jedit buffers, but my shortcut bindings seem to use a qwerty layout. For example, us dvorak users get into the habit of physically hitting Ctrl+I instead of Ctrl+C for copy (our 'I' key normally types a 'C'), but that gets literally interpreted as Ctrl-I.

I realise this might be desired behaviour for some users (especially those new to dvorak), but is there a way of having keyboard shortcuts interpreted the same way as normal keystrokes (the way every other app works)?
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
More info
by chovain on Mon, 21/05/2007 - 05:49
Using the keyboard troubleshooter:

When I physically press qwerty "i", it is correctly translated to a "c" as per dvorak key mapping.

Event KEY_PRESSED,keyCode=0x49,keyChar=0x63,modifiers=0x0 filtered
Event KEY_TYPED,keyCode=0x0,keyChar=0x63,modifiers=0x0 passed
==> Translated to <0,63>
Event KEY_RELEASED,keyCode=0x49,keyChar=0x63,modifiers=0x0 passed
Event KEY_PRESSED,keyCode=0x49,keyChar=0x63,modifiers=0x0 filtered
Event KEY_TYPED,keyCode=0x0,keyChar=0x63,modifiers=0x0 passed
==> Translated to <0,63>
Event KEY_RELEASED,keyCode=0x49,keyChar=0x63,modifiers=0x0 passed
But when I physically press qwerty Ctrl-I, it does not get translated to Ctrl-C as it should with a dvorak layout.

Event KEY_PRESSED,keyCode=0x11,keyChar=0xffff,modifiers=0x2 filtered
Event KEY_PRESSED,keyCode=0x49,keyChar=0x3,modifiers=0x2 passed
==> Translated to C<0,69>
Event KEY_TYPED,keyCode=0x0,keyChar=0x3,modifiers=0x2 filtered
Event KEY_RELEASED,keyCode=0x49,keyChar=0x3,modifiers=0x2 passed
Event KEY_RELEASED,keyCode=0x11,keyChar=0xffff,modifiers=0x0 filtered
The only difference between those two snippets is that the Ctrl key is held down in the second one.
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82349
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293