jEdit Community - Resources for users of the jEdit Text Editor
File owner being reset on Linux
Submitted by gp on Friday, 28 November, 2008 - 00:42
I can't get jEdit to preserve the file owner on Linux when saving a buffer. The owner is always reset to my_user:my_group, while the file is initially owned by my_user:www_group. So now everytime I save a buffer in jEdit I have to do a chown, otherwise Apache won't be able to read the file.

Disabling or enabling the "two-stage save" feature doesn't seem to make any difference.

I use 4.3pre16, but I had the problem even before upgrading. I don't even know where to start troubleshooting this. Any help would be greatly appreciated.
Can't Print
Submitted by subuta on Thursday, 27 November, 2008 - 15:53
Hello,

My knowledge is weak in the areas I am discussing, so please be patient.

I am running jedit under ubuntu 8.10. I have set my printer up with cups and it works well when I use lp to print. jedit won't print (fails silently). lpr doesn't work either. Helped by error messages that jedit produced when I tried to print prior to having installed lpr, I have concluded that:

1. jedit is using lpr
2. lpr is failing because I don't have an entry for my printer in termcap

Are these reasonable conclusions? Can I tell jedit to use lp instead of lpr? (I would prefer not to have to maintain printer definitions in both termcap and cups).

Thanks very much for your help.

-subuta
Problem on Ubuntu 8.10: can't type {[]}
Submitted by tomK on Sunday, 16 November, 2008 - 16:43
Hello,

I have a small Eye-wink but difficult problem with my jEdit-editor. I use it now a
few years without big problems. But now it's a little bit more ...

I use it under linux (with windows too, but there are no problems), before with
Ubuntu 7.10, with sun java 5 or 6 (it makes no
difference for me for this problem). And - as german - I have german keypad with
"de-nodeadkeys"-config. With "CtrlAlt-Right 7" for example I get "{" and so one.

Now I changed to Ubuntu 8.10. And there, if I type "CtrlAlt-Right 7" I get "7"
instead of "{"! (it's not really good for programming Eye-wink ) Does anybody have
seen such behavior? It looks as it would ignore
"CtrlAlt-Right"-key. Other applications on this installation do not show such,
there all is fine.

I have tried 4.3pre15 and too 4.3pre13 from official ubuntu package servers.
Same thing. Every time fresh installed (e.g. no ~/.jedit directory) and no
plugins. I'm not sure, if Ubuntu 8.04 is ok or not. I had it only a short time
installed and havn't used jEdit much in this time. But I know, that Ubuntu 7.10
works fine with jEdit.

Maybe it depends on new X server, but I'm not sure and I don't know, how to catch
it. Anybody out there with some suggestions? Some comments in other boards suggests also, that something is broken with sun java under Ubuntu 8.10.

Greetings,
Thomas
Text area display garbles but only on monitor 2
Submitted by Nick Payne on Monday, 10 November, 2008 - 20:01
I'm running a dual monitor setup using Windows Vista SP1 32-bit with a pair of 20" LCD monitors. Java version is JRE 6 update 10 and jEdit is 4.3pre15. On monitor 1 the jEdit window looks fine, but if I drag the window to monitor 2, at the point where more than 50% of the window is on monitor 2 the text area suddenly changes to show a small part of the file I am editing repeated over and over. If I drag the jEdit window back to monitor 1, as soon as more than 50% is on monitor 1 the window changes back to the correct display.

If you have a look at the screen dumps I have uploaded to http://www.users.on.net/~njpayne/stuff/monitor1.jpg and http://www.users.on.net/~njpayne/stuff/monitor2.jpg you can see what I mean.

The only plugin I've installed in addition to the default ones is LilyPondTool.

The only other Java application I use is Audiveris, and it works fine on either monitor. No other applications on the machine have any display problem on either monitor.

Nick Payne
Autosave of untitled buffers on Vista.
Submitted by Nick Payne on Sunday, 9 November, 2008 - 08:30
Works fine on XP, but on Vista this fails with an error messagebox: "C:\Program Files\jEdit\#Untitled-1#: Cannot save: java.io.FileNotFoundException: C:\Program Files\jEdit\#Untitled-1# (Access is denied)".

I can't see anywhere in Options to change the autosave path away from the Program Files dir. I have 4.3pre15 installed on Vista Business.
MRJApp.properties not found
Submitted by jsudduth on Friday, 7 November, 2008 - 23:02
jEdit used to work just fine on my MacBook Pro OS X 10.5.5. Now when I try to start it up there's a flash then nothing. In the system.log is the following:

Nov 7 13:43:56 jsudduth-mbp-2 com.apple.launchd[128] (0x10bac0.Locum[1998]): Exited: Terminated
Nov 7 13:44:02 jsudduth-mbp-2 [0x0-0x8a08a].org.gjt.sp.jedit[2002]: [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
Nov 7 13:44:02 jsudduth-mbp-2 [0x0-0x8a08a].org.gjt.sp.jedit[2002]: [JavaAppLauncher Error] CFBundleCopyResourceURL() failed while getting Resource/Java directory
Nov 7 13:44:02 jsudduth-mbp-2 [0x0-0x8a08a].org.gjt.sp.jedit[2002]: [LaunchRunner Error] No main class specified
Nov 7 13:44:02 jsudduth-mbp-2 [0x0-0x8a08a].org.gjt.sp.jedit[2002]: [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Nov 7 13:44:02 jsudduth-mbp-2 [0x0-0x8a08a].org.gjt.sp.jedit[2002]: Exception in thread "main" java.lang.NullPointerException
Nov 7 13:44:02 jsudduth-mbp-2 [0x0-0x8a08a].org.gjt.sp.jedit[2002]: at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
Nov 7 13:44:02 jsudduth-mbp-2 [0x0-0x8a08a].org.gjt.sp.jedit[2002]: at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
Nov 7 13:44:02 jsudduth-mbp-2 [0x0-0x8a08a].org.gjt.sp.jedit[2002]: at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)
Nov 7 13:44:02 jsudduth-mbp-2 com.apple.launchd[128] ([0x0-0x8a08a].org.gjt.sp.jedit[2002]): Exited with exit code: 1


The odd thing is there's no MRJApp.properties file in the jEdit.app package I downloaded. Why is it suddenly looking for this file?

Thanks,
Jim
Help! I've lost the File Open and Save As dialogs
Submitted by Lummo on Sunday, 26 October, 2008 - 14:46
When I try File | Open or Save As operations jEdit apparently writes up the dialog because I hear disk activity and see Input/Output complete in the status bar. The dialog is no where to be seen. Any other menu operations are met with a beep which normally indicates a modal dialog is expecting input. gets rid of it and I can then use other menu options. I'm using jEdit 4.3pre10 with java 1.6.0_03. Things went wrong when I was trying to open a file and got bored waiting for the dialog to appear (network share). I am using Microsoft Virual Desk Manager (MSVDM) and switched to another desktop to start up some music. While I was on the other desktop the File Open dialog appeared and then disappeared. Now I can't get the File Open dialog on any desktop. I've rebooted and reinstalled jEdit but it hasn't made any difference. I'm guessing that some config file in jEdit has got confused and isn't loading the dialog in the right place in the display. Does any one know if this might be so and, if so, how I can reset it? Thanks for any suggestions. with regards, Lummo
Using JEdit on UNIX system (Solaris P)
Submitted by rlanier on Tuesday, 14 October, 2008 - 15:40
I've used jedit for a while now, and I've noticed something peculiar: if I start instance #2 of jedit, the files that are open in instance #1 show up in instance #2 window, and vice versa. For example, if I start jedit like this:

jedit file1.txt (terminal window #1)
jedit file2.txt (terminal window #2)

I will get two instances of jedit running, but I will see both file1.txt and file2.txt in BOTH instances of jedit!

Why is this and how can I prevent this happening?
Creating EXE for file association
Submitted by proee on Friday, 10 October, 2008 - 22:19
Hello,

My computer need a cold reinstall of windows yesterday so I've been downloading all my favorite programs again. I've installed the latest version of jEdit but don't see an exe to associate files with windows. I read this died back in version 4.2

Bottom line, I have some programs that rely on passing their file to the exe so I can open it in jedit.

The biggest emergency I have it to find a way to associate this firefox plugin https://addons.mozilla.org/en-US/firefox/addon/4125 to jedit. It's used to edit html textboxes with your favorite editor.

Any help here is very much apprehiated.....
Cursor positioning problems on Mac OS X
Submitted by terrencebarr on Thursday, 9 October, 2008 - 09:10
jEdit 4.2 and OS X 10.4 worked fine for me for over a year. A couple of weeks ago I switched to OS X 10.5 and a bit later to jEdit 4.3pre13. In the meantime I also updated to Java 6. Since some point (not sure what caused it) I now have trouble with the cursor positioning in jEdit.

Initially, after opening a file in jEdit I can move the cursor and insert and delete text as expected. But within a couple of seconds the cursor position is off - meaning when I insert or delete text it actually occurs one or two characters *to the right* of the cursor position, not directly left of the cursor. This behavior continues until I close the file and reopen it, upon it will work correctly for a few seconds, then misbehave again.

Strange thing is that switching between jEdit 4.2 and 4.3pre15 doesn't help - the problem now appears in both versions. Also, switching between Java 5 and Java 6 doesn't help, either (Info.plist). So right now I can't find any way to fix the cursor behavior - which is driving me nuts.

Any ideas?

Thanks,

-- Terrence
Ftp plugin and "@" in username.
Submitted by radoos on Wednesday, 3 September, 2008 - 11:23
Hi,
Is there any way to login to FTP server with "@" in username?
Increasing java heap size in Windows XP
Submitted by jcaponi on Thursday, 28 August, 2008 - 17:18
I'm trying to increase memory heap size to deal with this error:

'There was insuffficient Java heap memory to complete this request. Try increasing the maximum heap size"

I've found references like this:
http://www.philroche.net/archives/jedit-still-going-strong-increase-heap-size/
and this
http://hausheer.osola.com/docs/5

but not sure where these parameters get set: command line? Jedit Properties control panel?
Would appreciate any advice,
thanks
Problem w/ Console and Perl
Submitted by smoreland on Wednesday, 20 August, 2008 - 16:12
This was working OK at 4.2, but I can't get it to work at 4.3.Pre14 or 15. When I have a perl source file open and go to console> Compile Current Buffer I get errors starting with :
java.lang.NoSuchMethodError: org.gjt.sp.jedit.ActionSet.getAction(Ljava/lang/String;)Lorg/gjt/sp/jedit/EditAction;
at console.ConsolePlugin.compile(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
... and going on for tens of lines.

Everything else seems to be set OK and the edit mode is set to perl.

Any help will be appreciated.

TIA

Steve
MalformedByteSequenceException in JEdit 4.3pre15
Submitted by dhschulten on Friday, 15 August, 2008 - 09:07
After installing the new jedit, I get a red label 1 error(s) in the lower right. When I double click it, the following stack trace appears. Something in the buffer history seems to be wrong, but how can I fix this?

com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at org.gjt.sp.util.XMLUtilities.parseXML(XMLUtilities.java:125)
at org.gjt.sp.jedit.SettingsXML.load(SettingsXML.java:150)
at org.gjt.sp.jedit.BufferHistory.load(BufferHistory.java:175)
at org.gjt.sp.jedit.jEdit.main(jEdit.java:441)
KunststoffLookAndFeel exception
Submitted by powery on Thursday, 14 August, 2008 - 13:11
Do you have same problem?

jEdit 4.3pre15 java 1.6.0_02 windows xp

java.lang.ClassNotFoundException: com.incors.plaf.kunststoff.KunststoffLookAndFeel
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1848)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:580)
at org.gjt.sp.jedit.jEdit.initPLAF(jEdit.java:3393)
at org.gjt.sp.jedit.jEdit.main(jEdit.java:418)
missing encoding big5 on xp on global settings
Submitted by kitsguru on Wednesday, 30 July, 2008 - 22:26
I am running xp professional and have need to use big5 encoding however it is not an option under global encodings, in fact there are several encodings that appear to be missing but this is the only one I need.

I have de-installed and then re-installed jedit 1.43pre14 to no avail. I have search microsoft and the web to see if I could find anything relevant but came up with nothing useful. Other programs on the same machine should the big5 encoding option.

Any ideas what might be the problem?
jEdit No Longer Loads in Vista
Submitted by dustinfineout on Wednesday, 30 July, 2008 - 14:29
I've seen this reported before by users who installed a Windows update and subsequently were unable to open jEdit. I did not install any updates, though, just tried to go to work this morning with no luck.

I installed jEdit with the Windows installer about 3 months ago on this machine, which is running Vista Home Premium, and have had no problems until today. Now, when I try to open jEdit, a javaw.exe process is spawned and hangs. This happens whether I run through the installed shortcut, directly run the exe, or run from command line, and regardless of whether I run as administrator. I've uninstalled jEdit to try different releases, and I cleared all temporary and application data and rebooted after each uninstall. The same thing happens regardless what I try. Also the latest Windows update I've installed was on the 20th and I tried uninstalling that (didn't help).

Any assistance would be greatly appreciated. I've used jEdit almost exclusively for about 2 years now - it's become a very powerful tool for me so I'd hate to have to move back to other editors.
Block Insert Broken?
Submitted by herr_jon on Tuesday, 29 July, 2008 - 20:00
Using block insert, using + , to select regions of a file for txt insertion used to work but now creates irregular areas. The way I've been using this feature is in the columns before or after existing text I select a zero width column then type new contents in that collumn. What used to happen was each character would be equally spaced from the left hand margin - what happens now is the spacing is variable. Can this be fixed? Thanks, Jon
Edit window locks after switching to another app and back.
Submitted by ttmrichter on Friday, 18 July, 2008 - 03:37
This isn't a showstopper, but it's really annoying. I don't know if this is a bug or if it's something bad in my setup, so I'm posting here first to see if this can be resolved before reporting it formally as a bug.

Setup:
- jEdit 4.3pre14
- Ubuntu 8.04
- Java 1.6u7
- Plugins:
- AStyle Beautifier, Beauty, BufferList, BufferTabs, Code2HTML, Column Ruler, Common Controls, Console, CtagsSideKick, Editor Scheme, ErrorList, FTP, GnuRegexp, Hex Edit, Hyperlinks, Info Viewer, JavaScript Shell, JDiff Plugin, JTidy, Latest Version Check, MacroManager, Project Viewer, QuickNotepad, RecentBufferSwitcher, RFCReader, RubyPlugin, SideKick, SQL, SshConsole, SuperAbbrevs, SuperScript, Syntax Helper, TextTools, WhiteSpace, XercesPlugin, XInsert and XML

All of the plugins are at the latest known version according to the Plugin Manager.

With this setup, I experience some very bizarre behaviour. Whenever I switch away from jEdit, when I come back the edit window will simply not respond to the keyboard at all. Mouse activity works fine. I can get context menus. I can cut and paste using them. The editing window seems to be working fine in every respect except that it ignores the keyboard. To make the keyboard work, all I have to do is go to any other window -- say the console window or my side kick window or the project manager window -- and click inside it, giving it the focus. Then if I click back in the edit window everything works perfectly.

To me this smells of some kind of plug-in interaction problem, but I'll be damned if I can figure out what's clashing where. I've tried disabling various plug-ins here and there, but nothing seems to get rid of this problem. Still, with this many plug-ins loaded it's hard to figure out what combination is the magic one, so I'm asking for those more experienced with jEdit to lend me a hand with this.

What can I do to better characterize this problem and, even better, what can I do to get rid of it?
Error Message
Submitted by audstune on Saturday, 12 July, 2008 - 20:01
Hi...I installed jedit on my desktop and love it. But I tried to run it on my laptop and I get an error message: When Java Virtual Machine Launcher tries to launch, the error says: Could not find the main class.

Can anyone help with this? I need to use my laptop on a trip to update my xml file.

Thanks!
User login
Browse archives
« July 2025  
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
31
 
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   109982
Context Free Art (*.cfdg)   0.31   46075
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17492
Advanced HTML edit mode   1.0   16227
Matlab Edit Mode   1.0   16089
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312