jEdit Community - Resources for users of the jEdit Text Editor
TAB key stops working
Submitted by Anonymous on Saturday, 20 November, 2004 - 12:06
I'm using JEdit to edit Java source code. I use the TAB key to indent. It seems to work just fine until suddenly the TAB key seems to stop working. That is, when I press the TAB key at the start of a new line to indent it, nothing happens.

I have found that if I close the file, exit Jedit, then try editing the same file again, the TAB key again seems to work properly, for a while. After a while, the TAB key again seems to stop responding.

I have no idea what I am doing wrong.

Michael Galvin
Muskegon, MI
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Solution to "Control type" Keys freezing
by Anonymous on Tue, 15/03/2005 - 19:15
The problem here is that jdk1.5 seems to change the behavior of java.awt.Window.dispose. in previous versions this function called a classes overridden setVisible(false) and it appears that java 1.5 is no longer doing that. An explicit call to setVisible(false) before the dispose call fixes this problem. Still not sure if this is a jedit bug or a java bug Eye-wink

private void hide() {

if (hint != null) {
hint.hide();
hint = null;
}
if (window != null) {
window.setVisible(false);
window.dispose();
window = null;
}

getTextArea().requestFocus();
}
I also posted this as a comment in the bug database.

Azhrei
Certain keys stopped working for me too.
by Anonymous on Sun, 20/02/2005 - 20:16
I have the same problem as you, but for me, the arrowkeys and the Ctrl keys don't work either.

This problem started for me when I upgraded my JVM to Java1.5.
 
I too have Seen this behavior
by Anonymous on Tue, 15/03/2005 - 15:21
I too have Seen this behavior after upgrading to Java 1.5!
I also tried 4.3pre2 at teh same time, thought that was the problem, but still there when I swapped back to 4.2 Sad This is insane!!!

Azhrei
tab and arrow keys
by uggwar on Mon, 06/12/2004 - 22:40
Same happens to me, but it also includes the arrow keys. Seems to have something to do with the DotComplete plugin, but I am unable to reproduce the bug. I happens randomly (or so it seems).

Running 4.2 on debian sid btw.

Christer
 
same problem with CodeAid on XP
by Anonymous on Thu, 30/12/2004 - 08:31
I have the same problem using CodeAid plugin. As soon as it opens the first completion dialog, tab and arrow keys stop from working.

I'm using jEdit 4.2final on Windows XP.
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   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
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