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.
Fedora Core 3 with jEdit work great: here is how
Submitted by Anonymous on Monday, 18 April, 2005 - 13:14
I posted this message as a reply to a different subject, and I heard that some people were having problems finding it so here it is:
I have never had a problem with jEdit and Fedora Core 3, any other Java app, or any Linux distro + Java for that matter. And you won't either.
Just unpack the JDK into whatever directory you feel like it.
For this example I am gonna say that I decided to unpack the JDK under /home/java. And no, I did not use the rpm. Just go to http://java.sun.com/j2se/1.5.0/index.jsp (pay a visit to http://www.java.com/en/ to see some cool java stuff) and get the .bin file, chmod to 755, run and unpack. Then copy to wherever place you want. Get the JDK not the JRE. It's bigger, meaner and better (who knows, someday you may want to cook that Java app that will get Microsith out of business --if the mighty Linux does not do that first, of course).
Make sure that your ~/.bash_profile has a line like:
PATH=$HOME/bin:$PATH
and not
PATH=$PATH:$HOME/bin
It wouldn't hurt to add another line like:
JAVA_HOME=/home/java
You should also have a line below like:
export PATH JAVA_HOME
note that there is a space between PATH and JAVA_HOME
save your ~/.bash_profile and create a directory bin under your home directory:
mkdir ~/bin
if it does not exist.
cd into ~/bin and create a soft link:
ln -s /home/java/bin/java java
that points to the bin/java inside your Java directory;
you may need to do:
source ~/.bash_profile
or even log out and log back in for the changes to take place. Anyhow, you should be able to do:
java -version
and see something like:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)
or something similar depending on your JDK version.
now that you have the Java executable at your reach (shell-wise that is), you can run any Java programs.
If you are using Firefox, you may as well allow Firefox to execute applets/java programs; in that case pay at trip to:
cd ~/.mozilla/plugins and do:
ln -s /home/java/jre/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
Now you should be able to install jEdit. I am gonna assume that jEdit has been installed into /home/myhome/jedit.
Now go back to your ~/bin and create a file called jedit: vi jedit
The file should contain the following 4 lines:
#!/bin/sh
# Java heap size, in megabytes
JAVA_HEAP_SIZE=32
exec "java" -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar "/home/myhome/jedit/4.2/jedit.jar" $@
or:
#!/bin/sh
# Java heap size, in megabytes
JAVA_HEAP_SIZE=32
exec "$JAVA_HOME/bin/java" -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar "/home/myhome/jedit/4.2/jedit.jar" $@
should also work. Anyhow, save the file and make sure that it is executable: chmod 755 jedit
cd back to your home directory: cd ~/ and try: jedit &
and if you have lots of RAM memory, bump up that 32 to 64, 128 or whatever.
If you have had problems in jEdit complaining about the maximum memory allocated to Java, now you'll now how and where to solve that too (I did indeed have a memory shortage problem with extremely huge files).
Now you are done. Enjoy jEdit!!!
Boot Notification (boot_notification.bsh v1.1 by Claudio Vicari)
Submitted by
cvicari on
Monday, 18 April, 2005 - 14:27
This startup script displays a small dialog for a little while, in order to notify the user that jedit has started.
I use it as a replacement for the plain splash screen, because it starts only at the very end of the startup process. Useful when you are used to start jedit in background at logon (-background -nogui options), in order to access the editor quickly later on.
Plugin central updates - 1 new, 6 updated
Submitted by
slava on
Monday, 18 April, 2005 - 22:47
A
new batch of plugins is now out, with the new JavaDebuggerPlugin, and new releases of Archive, Console, Factor, JCompiler, SideKick and SQL.
Latex parser doesn't work in release 4.3pre2
Submitted by
doublebacks on
Tuesday, 19 April, 2005 - 02:40
The Latex plugin can parse latex file structure with sidekick in release 4.2,
but it doesn't work in release 4.3pre2.
N00b question...how do i install the icons and images i downloaded form this site?
Submitted by Anonymous on Tuesday, 19 April, 2005 - 03:13
...to Jedit?
THX.
Jump! incompatible with the new Project Viewer (2.1.0.1)
Submitted by Anonymous on Tuesday, 19 April, 2005 - 15:19
The error:
java.lang.NoSuchMethodError: projectviewer.vpt.VPTFile.getCanonicalPath()Ljava/lang/String;
at ProjectBuffer.init(Unknown Source)
at ProjectBuffer.getProjectBuffer(Unknown Source)
at Jump.showProjectJump(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeOnMethod(Reflect.java:149)
at bsh.Reflect.invokeObjectMethod(Reflect.java:81)
at bsh.Name.invokeMethod(Name.java:856)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
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.gui.InputHandler.invokeAction(InputHandler.java:195)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:297)
at org.gjt.sp.jedit.View.processKeyEvent(View.java:669)
at org.gjt.sp.jedit.textarea.JEditTextArea.processKeyEvent(JEditTextArea.java:4957)
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.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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)
FTP-0.7.3 connection pool problem
Submitted by Anonymous on Tuesday, 19 April, 2005 - 16:59
I've noticed strange behaviour of FTP plugin in version 0.7.3 (as opposed to 0.7.2 which works OK).
When I try to open a large ammount of files (let's say 25) at the same time, jedit opens 25 connections to ftp server (or at least tries to). As I have a connecion limit on my FTP server set to 10 (windows 2000 pro with built-in ftp service), jedit gives me a nice ftp error.
Did anybody experienced similar problems?
--
Demboos
demboos (at) wp pl
HTML / PHP multihighliter
Submitted by Anonymous on Wednesday, 20 April, 2005 - 07:32
Is there any way how to have different highliting for HTML and php when working with php in html?
Thanx
directory search-replace opens all files. how not to?
Submitted by Anonymous on Thursday, 21 April, 2005 - 00:14
Hello!
Search-replace in all files in directory opens all modifyed files. Is it possible to override this behavior? Recently i've got a full screen of buffer tabs, trying to search-replace in some hundreds of files
jEdit fails to launch under Mac OS 10.3.9
Submitted by Anonymous on Thursday, 21 April, 2005 - 02:47
I just installed the 10.3.9 OS update, and now jEdit no longer will launch. Has anyone else run across this? Any known way to fix it?
Problem with Unix file system,
Submitted by Anonymous on Thursday, 21 April, 2005 - 07:56
Hi,
I mounted a network drive on Windows in order to access to a Unix server (sun4u 5.

,
and I'm accessing files on this network drive with JEdit,
I unchecked the option '2 step save',
but JEdit is still ignoting Unix rights and accept to save every files even those which are read only.
I tried with JRE 1.4.1 and 1.5 and I get the same behaviour, has anyone any idea ? How to tell JEdit to use Unix rights ? Or is it a problem linked to Windows software, and so unsolvable ? (I use Windows 2000 pro)
Thanks !
Problem with Unix file system,
Submitted by Anonymous on Thursday, 21 April, 2005 - 07:57
Hi,
I mounted a network drive on Windows in order to access to a Unix server (sun4u 5.8 ),
and I'm accessing files on this network drive with JEdit,
I unchecked the option '2 step save',
but JEdit is still ignoting Unix rights and accept to save every files even those which are read only.
I tried with JRE 1.4.1 and 1.5 and I get the same behaviour, has anyone any idea ? How to tell JEdit to use Unix rights ? Or is it a problem linked to Windows software, and so unsolvable ? (I use Windows 2000 pro)
Thanks !
-reuseview question
Submitted by
gthorburn on
Thursday, 21 April, 2005 - 19:59
Using Win 2K professional, jEdit 4.2. I've added -reuseview to the file association.
When a jEdit session is already running, dbl-clicking a file adds it to the view,
as would be expected. But if no jEdit session is running, dbl-clicking a file will
not start up a session if -reuseview is set.
- is this as expected?
- if so, is there a way I can start jEdit and open first file on the first dbl-
click, and open new files in same view with subsequent file dbl-clicks?
-- Gary
Character encoding selection in Open file dialog
Submitted by Anonymous on Thursday, 21 April, 2005 - 23:53
I would appreciate option to choose character encoding in Open file dialog.
jEdit has troubles when opened document is not in default encoding: Utilities - Buffef options - Character encoding doesnt help, jEdit often converts wrong displayed characters to another encoding instead of reloading document with proper encoding
Spacing between lines
Submitted by Anonymous on Friday, 22 April, 2005 - 10:24
Is there any way to increase the spacing between lines in jedit? I think jedit is great, but find that the close-packing of the text gives me a bit of a headache when writing long documents ... For instance kwrite uses a slightly wider line spacing, which I think makes reading more comfortable. I think there is research to back up this idea that a reasonably wide line spacing makes reading easier.
Cheers,
Pete