jEdit Community - Resources for users of the jEdit Text Editor
TextArea is now doublespaced, might be Swing related (4.3.pre16)
Submitted by d4rr3ll on Monday, 22 December, 2008 - 16:41
Hi,

I wonder if someone could point me in the right direction please, I have been using jEdit for ages but since installing Eclipse (to try out Android SDK) everything in the TextArea now seems to be double spaced, infact everything text related now seems to have extra padding at the bottom. Nothing has changed with regard to my jEdit settings. I suspect it might be something Java related that's got installed along with Eclipse, but don't quite know where to start.

Before and after screenshots...

before: http://www.d4rr3ll.com/images/jedit/jedit.gif
after: http://www.d4rr3ll.com/images/jedit/jedit1.gif

I need to get it back to how it looked, as the double spacing is freaking me out.

Hopefully somebody can help.

Cheers
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Quick couple of questions fir
by elberry on Mon, 22/12/2008 - 17:52
Quick couple of questions first.

What OS are you running, what version of Java, and what version of Eclipse?

If you are running some version *nix, did you modify any of your startup scripts (.bashrc, .profile, etc...) to add Java specific environment-variables? If you didn't, could check to see if the Eclipse installation did?

It's also possible some of the font properties got changed:
http://java.sun.com/j2se/1.4.2/docs/guide/intl/fontprop.html

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
 
Further info....
by d4rr3ll on Mon, 22/12/2008 - 19:20
OS is Linux (Ubuntu 8.10)

I can't see anything in .bashrc or .profile that has changed with relation to anything 'JAVA'

grep JAVA ~/.*

only shows errors in .xsession-errors

.xsession-errors:Warning: $JAVA_HOME environment variable not set! Consider setting it.

Eclipse Platform
Version: 3.4.1
Build id: M20080911-1700

The font.properties file hasn't changed for a while

darrell@darrell-laptop:~/bits/eclipse/eclipse$ ls -l /etc/java-6-openjdk/psfont.properties.ja
-rw-r--r-- 1 root root 3784 2008-10-25 03:18 /etc/java-6-openjdk/psfont.properties.ja


I have seen this before when I first installed Ubuntu 8.10, and installed jEdit that comes packaged with it (pre13), I removed that installed pre16 and everything was ok, but now it has come back after installing Eclipse and all the related Java changes associated with it. I have tried all of pre13 through to pre16 none of which seems to solve the problem.
 
JVM
by Robert Schwenn on Tue, 23/12/2008 - 20:09
Well, one of the questions (and I guess the crucial one) was "what version of Java?". jEdit is intended to run with *SUN* Java at least version 1.5. Maybe You have installed Eclipse with another Java environment, which is now the active one.

I think that the command "java -version" should show what You need. Maybe this thread could also help.

Robert

 
Java version
by d4rr3ll on Wed, 24/12/2008 - 10:02
Apologies for missing the the java version

java version "1.6.0_0"
IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build 1.6.0_0-b12)
OpenJDK Server VM (build 1.6.0_0-b12, mixed mode)

So I did some digging and sorted it by running jEdit with the following command:

darrell@darrell-laptop:~$ JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.10/ jedit

Thanks for the pointers
User login
Browse archives
« November 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   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300