jEdit Community - Resources for users of the jEdit Text Editor
Archives
ps to pdf problem when running the lilytool plugin
Submitted by Anonymous on Sunday, 3 April, 2005 - 03:22
Jedit using the lilytool plugin used to work fine. The I didn't do any work with for a month or two. Now I'm back at it and it's not working. I uninstalled jedit and updated it to the latest stable version for XP, then installed the plugin lilytool. I also have cygwin installed. I am getting this error when running lilytool:

LilyPond ready.
lilypond /cygdrive/C/Temp/myredeemerlives.ly
GNU LilyPond 2.4.3
Processing `/cygdrive/C/Temp/myredeemerlives.ly'
Parsing...
Interpreting music... [8][16][24][32][40][48][56][61]
Preprocessing graphical objects...
Calculating line breaks... [3][6][9][12][15][18][21][24][27][30][33][36][39][42][45][48][51][54][57][60][61]
Layout output to `myredeemerlives.tex'...
Signal 11
Converting to `myredeemerlives.dvi'...
Error invoking `latex \\nonstopmode \\input myredeemerlives.tex > /dev/null 2>&1 '. Return value 35584
Converting to `myredeemerlives.ps'...
Error invoking `dvips -t "letter" -u+ec-mftrace.map -u+lilypond.map -Ppdf myredeemerlives > /dev/null 2>&1 '. Return value 256
Converting to `myredeemerlives.pdf'...Error invoking `ps2pdf -sPAPERSIZE="letter" myredeemerlives.ps > /dev/null 2>&1 '. Return value 256
LilyPond ready.

This really ticks me off because I have to have this music ready for tomorrow morning, but it looks like I'll have to do it by hand.
Jedit fail to unzip files for plugin!
Submitted by Anonymous on Monday, 4 April, 2005 - 12:44
Hi, I have installed jedi in a fedora core 3 machine with jdk 1.5.0. When i download a plugin i receive an exception with: [error] Roster$Install: java.util.zip.ZipException: error in opening zip file [error] Roster$Install: at java.util.zip.ZipFile.open(Native Method) [error] Roster$Install: at java.util.zip.ZipFile.(ZipFile.java:204) [error] Roster$Install: at java.util.zip.ZipFile.(ZipFile.java:85) Please someone have any idea of the problem ! PS. the installation and execution of jedit is made by the same user. thanks Guido
JCompile / Java Core Plugin problem with" "The Default service"
Submitted by Anonymous on Tuesday, 5 April, 2005 - 19:58
Hy
Iam new here and i have right now finished my installation of jEdit.
I have a problem when i start to compile a java file with jCompile:

The following Error popup starts when i start to compile:

+------------------------------------------+
| Java Core Plugin
+------------------------------------------+
| The "Default" service is not available.
| Possibly the plugin providing it has
| unloaded or removed. Switching to Default.
|
+------------------------------------------+

And if i click on OK just the compiler-console runs without any Errormessage,
but the sign of compiling is still turning.

I did load the whole plugins bymyself, as zip's und unzipped all jar
(also "JavaCore.jar" and "JavaParser.jar" from "JavaCore-0.7.1.zip" )
and by the Startup of jEdit is no Error Message.


What does that popup say?
is there a errorlog wich kan say more?

Can anybody help me please?

txs Florian
JCompile / Java Core Plugin problem with" "The Default service"
Submitted by Anonymous on Tuesday, 5 April, 2005 - 20:10
Hy
Iam new here and i have right now finished my installation of jEdit.
I have a problem when i start to compile a java file with jCompile:

The following Error popup starts when i start to compile:

+------------------------------------------+
| Java Core Plugin
+------------------------------------------+
| The "Default" service is not available.
| Possibly the plugin providing it has
| unloaded or removed. Switching to Default.
|
+------------------------------------------+

And if i click on OK just the compiler-console runs without any Errormessage,
but the sign of compiling is still turning.

I did load the whole plugins bymyself, as zip's und unzipped all jar
(also "JavaCore.jar" and "JavaParser.jar" from "JavaCore-0.7.1.zip" )
and by the Startup of jEdit is no Error Message.


What does that popup say?
is there a errorlog wich kan say more?

Can anybody help me please?

txs Florian
Mouse-related usability
Submitted by Anonymous on Tuesday, 5 April, 2005 - 22:21
I can't select entire line/multiple lines by clicking line numbers column (I find this very useful)

No drag'n'drop edit (ok, I can live without that one)

Docked panels/windows aren't clickable on the edge of the window (they're shifted 1 pixel off the edge).
That is a waste in terms of Fittz's Law - you lose "infinite" clickable area.
jEdit 4.3pre2 hangs, when switching between projects
Submitted by Anonymous on Wednesday, 6 April, 2005 - 16:53
Hello everybody =)

This is actually a bug report.
forgive me, if i missed, where it should go.

the problem is as follows:
i have a couple of projects, and i'm browsing between them constantly. the problem that's been bugging me appears at the moment, when jEdit closes one project and opens another one. at this moment it disables the project browser, so i can't switch to another file/project. at first it wasn't a real problem, happened from time to time, so i dismissed it. but lately it started reoccuring pretty often: practically each time i switch the projects. of course, i always can choose View->New View and close the old one or just restart jEdit, but it's kinda annoys me.

am i dumb, or is it a real bug?

thanx, anyway =)

Igor.
jEdit slow startup problem: 3 minutes, 13 seconds
Submitted by Anonymous on Wednesday, 6 April, 2005 - 18:17
Hi,


whenever I run jEdit (in ArchLinux) it takes a bit over 3 minutes to start. This has occured to me for versions 4.2, 4.3pre2 (most recent), j2dk/j2re 1.5.0_01-1 (most recent Arch version) and with 1.5.0_02 (most recent version).
It seems to be waiting for something, then timing out. It is probably just something weird in my system, but I am ignorant of a good way to track down what is taking the time. I've been trying to solve this by asking at the ArchLinux forum but to no avail.

From strace:

stat64("/opt/java/jre/bin/java", {st_mode=S_IFREG|0755, st_size=63664, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8 ) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d7d708) = 32425
rt_sigprocmask(SIG_SETMASK, [], NULL, 8 ) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8 ) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8 ) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8 ) = 0
rt_sigaction(SIGINT, {0x80731c0, [], 0}, {SIG_DFL}, 8 ) = 0
waitpid(-1, initialized
realize
exit
[error] main: /usr/share/themes/Gorilla/gtk-2.0/gtkrc:46:
[error] main: Engine "industrial" is unsupported, ignoring
[error] main: /usr/share/themes/Gorilla/gtk-2.0/gtkrc:57:
[error] main: Engine "industrial" is unsupported, ignoring
[error] main: /usr/share/themes/Gorilla/gtk-2.0/gtkrc:121:
[error] main: Engine "industrial" is unsupported, ignoring"

Activity.log:

[message] Log: When reporting bugs, please include the following information:
[message] Log: java.version=1.5.0_02
[message] Log: java.vm.version=1.5.0_02-b09
[message] Log: java.runtime.version=1.5.0_02-b09
[message] Log: java.vendor=Sun Microsystems Inc.
[message] Log: java.compiler=null
[message] Log: os.name=Linux
[message] Log: os.version=2.6.11-mm2-ARCH
[message] Log: os.arch=i386
[message] Log: user.home=/home/me
[message] Log: java.home=/opt/java/jre
[message] Log: java.class.path=/usr/share/jedit43/jedit.jar


It is just after the realize line that it waits (usually for about 3 minutes and 13-15 seconds). I've tried different GTK2 themes, but observed no change in the slow startup. When I use the Default theme startup is still slow but the error messages about an unsupported theme engine don't occur.
I'm not using Gnome as a desktop environment (am using either wmi or wmii), and for what it's worth the slow startup happens in KDE, and as a different user.

So, can anyone diagnose the problem? Or suggest a way I can gather more information about where it is getting stuck? The symptoms are so vague I'm having a problem searching for a solution.

Other Java programs seem to work okay. I've wiped the ~/.jedit dir and the CLASSPATH variable, moved everything execpt jedit.jar out of the jedit install dir (/usr/share/jedit43)- to no change.

Thanks in advance.

cheers

Paul
Dual displays drive jEdit nuts
Submitted by Anonymous on Thursday, 7 April, 2005 - 06:45
This bug is in Windows XP. I'm using v4.2final and the latest java from Sun, but the problem is also in the newest v4.3.

When I use jEdit on a dual-display system and the secondary monitor has a higher resolution than the primary monitor, jEdit goes nuts. The problem occurs every time when I connect an external monitor (1280x1024) to my laptop (1024x768), extend my desktop onto the second monitor, and put a jEdit window on the monitor. jEdit has problems displaying the screen, and often lines don't get updated unless the window is scrolled.

The problem can be fixed by setting the external monitor as the primary display, and then extending the desktop onto the laptop screen...
XML Parser error using Plugin manager to update plugins
Submitted by ryexley on Thursday, 7 April, 2005 - 13:57
I can't figure out what the problem here is, but I've not been able to figure it out for forever, and haven't found anything here on the message boards that explains how to fix it, so... I've been having a problem with the plugin manager when I try to access either the Update or the Install tab. Whenever I click on either of those, I get an XML Parser error that says: "An error occurred while parsing http://plugins.jedit.org/export/gzip_plugin_manager.php, line 1: expected character (found "e") (expected "<")" Anyone happen to have any idea what might be causing this, and/or how I can get around it and get it fixed, so I can update my existing plugins, and install some new ones? Thanks.
Anti-alias fonts in Linux?
Submitted by Anonymous on Thursday, 7 April, 2005 - 15:30
Hi all -

I'm a jedit newbie, and I've looked through the FAQ, as well as the wiki but couldn't find a simple answer to this question: "How can I use Anti-Alias fonts in jedit on Linux?"

It strikes me that jedit is a wonderful tool, but I can't see past the pervasively horrible font rendering. Program menus, dialog boxes, and of course the main edit window - the horrible java font rendering looks very much out of place on my KDE 3.4 desktop. In Utilities->Global Options->Text Area I have selected "Smooth Text" as well as "Fractional font metrics", which is a tremendous improvement, but the fonts still don't seem as good as in any KDE app. If I run 'kate' next to 'jedit' both using 'Monospaced', the rendering in 'kate' is much better.

I am using jedit4.2final on gentoo-64, with blackdown-jdk-1.4.2.01 as the java back-end.

Any help would be greatly appreciated.

Cheers
Assign a hotkey to Jdiff -- > Refresh ???
Submitted by Anonymous on Thursday, 7 April, 2005 - 17:58
Is it possible ?
More than ever I need to assign a hotkey (like Alt-r or Crtl-R or 2 close keys)
so can just press it to refresh the view of Jdiff just after I finish editing
a line. This a thing I do 100 % of the time. If it could be set to automatically
refresh wow !
Anyway, I'll be very happy with CTRL-something or Alt-Something

Thanks
jEdit lite?
Submitted by Anonymous on Friday, 8 April, 2005 - 00:24
I've been using jEdit for a few years now, and I still consider it the most versatile editor I've ever used. Unfortunately, while I don't have any problem with it's somewhat massive footprint on my desktop, I've recently run into issues using it as an editor in remote sessions. Even without any additional plugins it takes around ten seconds to load jEdit on an SSH session with X11 tunnelling on a 100Mbit network. While this is perfectly OK if I've got a lot of editing to do, it makes it very painful to use as a general purpose text editor for smaller jobs. At the moment, I use nedit, which loads faster, but doesn't have nice features like multiple line editing with rectangular selection, or jEdits far superior find/replace.

Is there any way I can significantly lighten jEdit so that I can use it as a replacement to nedit? Or if that's too much like trying to fit a war elephant in a dog kenel, then can anybody recommend a good companion editor to jEdit? A lighter editor built with jEdit Syntax Package for instance?
Need function highlighting in CodeBrowser plugin
Submitted by Anonymous on Friday, 8 April, 2005 - 09:04
One of the frequent things I run into is that I search for a word or a tag in my
C program and end up somewhere in a file. I end up scrolling up the screen to know
which function the cursor is in and come back to the cursor position. A nice feature
would be if the CodeBrowser plugin can highlight the function in which the cursor is
currently located.

--Hemanth P.S.
Can't compile using JCompiler
Submitted by Anonymous on Friday, 8 April, 2005 - 19:21
JCompiler seems to load fine. I had to reinstall it once but it seems to work load fine now. But I get the following when actually trying to execute it OR when just trying to get to the JCompiler options dialog. Clues anyone? java.lang.NullPointerException at java.util.StringTokenizer.(Unknown Source) at java.util.StringTokenizer.(Unknown Source) at javacore.AbstractClasspathSource.loadClassNames(AbstractClasspathSource.java:476) at javacore.AbstractClasspathSource.init(AbstractClasspathSource.java:455) at javacore.DefaultClasspathSource.(DefaultClasspathSource.java:53) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at bsh.Reflect.constructObject(Reflect.java:668) at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123) at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114) at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.Interpreter.eval(Interpreter.java:641) at bsh.Interpreter.eval(Interpreter.java:731) at bsh.Interpreter.eval(Interpreter.java:720) at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410) at org.gjt.sp.jedit.ServiceManager$Descriptor.getInstance(ServiceManager.java:321) at org.gjt.sp.jedit.ServiceManager.getService(ServiceManager.java:264) at javacore.JavaCorePlugin.getClasspathSource(JavaCorePlugin.java:71) at javacore.JavaCorePlugin.getClasspathSource(JavaCorePlugin.java:57) at jcompiler.options.JCompilerOptionPaneCompiler._init(JCompilerOptionPaneCompiler.java:414) at org.gjt.sp.jedit.AbstractOptionPane.init(AbstractOptionPane.java:108) at jcompiler.options.JCompilerOptionDialog.(JCompilerOptionDialog.java:107) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at bsh.Reflect.constructObject(Reflect.java:668) at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123) at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114) at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BshMethod.invokeImpl(BshMethod.java:349) at bsh.BshMethod.invoke(BshMethod.java:246) at bsh.BshMethod.invoke(BshMethod.java:171) at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523) at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229) at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2910) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(UnknownSource) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Made with jEdit
Submitted by Anonymous on Friday, 8 April, 2005 - 19:30
http://bellsouthpwp.net/h/e/hellman/portfolio/portfolio.html
Word separation in bumpyCaps strings
Submitted by Anonymous on Sunday, 10 April, 2005 - 16:45
bumpyCaps are a very common convention for variable names etc. It would be cool if jEdit offered the option of separating words based on capitalization as well. "bumpyCaps" would then be two words.

If implemented, this option should probably be relative to the edit mode and, of course, optional.
Changing the root menu in Views
Submitted by Anonymous on Monday, 11 April, 2005 - 16:58
Hi,
I want to
1) reorganize the root menu that all views see in my jEdit instance.
Or, at the very least,
2) add new root menus.

Is there a standard way to do this without re-building the jar file? I think the most extensible approach to #2 would be to install a user space actions.xml. Is there a way to do this?

Is there a sanctioned way to do #1?

I could also see doing it in code using statements such as
view.getJMenuBar().add(new JMenu(...));
but presumably I should do this as a plugin and respond to edit bus messages so that new views also get the new menus, and I should use the actions API so that actions get installed and called.
It seems like a lot of work -- I would imagine that someone has a document or test case that shows the steps. Does anyone have any pointers in this direction?

Thanks!
Laramie
Copying a line
Submitted by Anonymous on Tuesday, 12 April, 2005 - 21:59
Hi there!
Is there any way how to make jEdit to copy a whole line on Ctrl+C when no text is selected?
Thanx!
problems with JavaDoc plugin
Submitted by Anonymous on Wednesday, 13 April, 2005 - 08:34
Doesn't seem to be working at all. Just outputs a command line to the JDoc window in the plugin but doesn't seem to act on the command line. No error messages outputted.

Also the commandline has a trailing @ in front of the filenames to be javadoc'd.

Any ideas?
turning off auto indent (or some features)
Submitted by eric_mahurin on Wednesday, 13 April, 2005 - 13:50
How do I turn off auto-indent? Or better yet just stop it reindenting a line after the fact (except when there is nothing on the line to begin with).

Specifically, I'm coding in ruby right now which only occasionally uses {}, but almost invariably does something I don't want as soon as I type "{". I don't ever want it to reindent a line when I type "{". I do want it to indent on lines a "{". I do want it to unindent on an empty line when I type "}".

If I can't get good behavior, I would rather just turn off auto-indent.

I just downloaded 4.3pre2 and am still having indent problems (as I always have, but it is more pronouced in Ruby code).
User login
Browse archives
« April 2005 »
MoTuWeThFrSaSu
 
1
2
9
11
24
 
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   108249
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309