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).
jEdit in linux distro
Submitted by Anonymous on Wednesday, 13 April, 2005 - 17:12
My friends are making a live Linux distro for our faculty, and they need a good universal programming editor that is not too heavy for live distro. So I recommended jEdit with several plugins as a good choice. My friends are now fascinated with jEdit and it will be a default editor of new distro and a lot of students will use the best editor ever made.
php parser doest't parse (sometimes)
Submitted by Anonymous on Wednesday, 13 April, 2005 - 20:01
Hi there,
some of my php files don't get parsed by sidekick/phpparser.
Are there any rules I have to follow when writing php code to get it parsed?
Thanx,
Jiri
No backquotes
Submitted by Anonymous on Thursday, 14 April, 2005 - 17:14
Hi,
On my belgian keyboard, I normaly have to use the <alt-gr>+µ key combinaison to get the backquote character (`). But I can't get it with jEdit... So I can't accentuate capital letters (ÀÈÌ...) nor backquote field names in MySQL queries. The only solution I found is to cut and paste these characters from another application: painful!
Any way to solve this problem?
OS: WinXPproSP2
jEdit: 4.2
keyboard: BE
Best Editor of the world
Submitted by Anonymous on Friday, 15 April, 2005 - 07:07
Hi,
just to say that jEdit is the best editor I've ever used;
the plugins are also very helpful.
It's great to see the power of java.
jEdit's adorer
installing with FC4 x86_64
Submitted by Anonymous on Saturday, 16 April, 2005 - 22:57
Hey,
I'm not having any luck installing or compiling jEdit with FC4 Test 1 (3.90) on amd x86_64. I tried the development and stable versions, but both had the same errors. I also tried installing the packages from JPackage, but I got the same errors.
I'm using:
java version 1.4.2
gij (GNU libgcj) version 4.0.0 20050405 (Red Hat 4.0.0-0.40)
When launching, I get:
[me@localhost Desktop]# java -jar jedit42install.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib64/libgcj.so.6.0.0)
at java.awt.EventQueue.invokeLater(java.lang.Runnable) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.SwingUtilities.invokeLater(java.lang.Runnable) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.RepaintManager.addInvalidComponent(javax.swing.JComponent) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JComponent.revalidate() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JComponent.setOpaque(boolean) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JPanel.JPanel(java.awt.LayoutManager, boolean) (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.createGlassPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.getGlassPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JRootPane.JRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.createRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.getRootPane() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.frameInit() (/usr/lib64/libgcj.so.6.0.0)
at javax.swing.JFrame.JFrame() (/usr/lib64/libgcj.so.6.0.0)
at installer.SwingInstall.SwingInstall() (Unknown Source)
at installer.Install.main(java.lang.String[]) (Unknown Source)
at .main (/usr/lib64/libgij.so.6.0.0)
at .__libc_start_main (/lib64/libc-2.3.4.so)
Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit not found in gnu.gcj.runtime.SystemClassLoader{urls= [file:jedit42install.jar], parent=gnu.gcj.runtime.VMClassLoader{urls=[core:/], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib64/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib64/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib64/libgcj.so.6.0.0)
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib64/libgcj.so.6.0.0)
...17 more
When compiling, I get several errors. Here are a few:
[javac] Compiling 3 source files to /home/justin/Desktop/jEdit
[javac] ----------
[javac] 1. WARNING in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 29)
[javac] import javax.swing.text.html.*;
[javac] ^^^^^^^^^^^^^^^^^^^^^
[javac] The import javax.swing.text.html is never used
[javac] ----------
[javac] ----------
[javac] 2. WARNING in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 47)
[javac] public class HelpViewer extends JFrame implements EBComponent
[javac] ^^^^^^^^^^
[javac] The serializable class HelpViewer does not declare a static final serialVersionUID field of type long
[javac] ----------
[javac] ----------
[javac] 3. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 370)
[javac] if(evt instanceof HTMLFrameHyperlinkEvent)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] HTMLFrameHyperlinkEvent cannot be resolved to a type
[javac] ----------
[javac] 4. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 372)
[javac] ((HTMLDocument)viewer.getDocument())
[javac] ^^^^^^^^^^^^
[javac] HTMLDocument cannot be resolved to a type
[javac] ----------
[javac] 5. ERROR in /home/justin/Desktop/jEdit/org/gjt/sp/jedit/help/HelpViewer.java
[javac] (at line 374)
[javac] (HTMLFrameHyperlinkEvent)evt);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] HTMLFrameHyperlinkEvent cannot be resolved to a type
The list goes on... 8 errors, 40-some warnings. The src rpm from JPackage yielded similiar results.
Any ideas on how to get it working?
Thanks in advance!
Justin
(Tried to register on forum, but it didn't send me the email)
abbrevations and german keyboard
Submitted by Anonymous on Sunday, 17 April, 2005 - 08:15
Hallo All,
with my german keyboard, the shortcut for abbrevations (Control + SEMICOLON) doesn't function.
Trying abbrevations from within the menu, there's no problem.
So any hints, where i can change the shortcut for abbrevations ?
Thanks,
KS
Newbie: Can't get CodeLint to work or maybe I don't know how to use it!
Submitted by Anonymous on Monday, 18 April, 2005 - 04:11
Hi,
Just installed jEdit 4.2:
[message] Log: java.version=1.4.2_05
[message] Log: java.vm.version=1.4.2_05-b04
[message] Log: java.runtime.version=1.4.2_05-b04
[notice] jEdit: jEdit version 4.2final
And also CodeLint 0.3.
I have a few "C" files open and to run CodeLint, I go to Plugins->CodeLint->Lint Source Code.
However, nothing happens. I even set the CodeLint option for AntiC/jLint to the path of the source files I'm working on. Nothing happens.
Does the output of CodeLint get placed somewhere special?
Thanks very much for your help.
Pretzel.