Outline of function
Submitted by
bitonio on
Wednesday, 3 November, 2004 - 09:13
Hello,
I would like to know if a plugin that shows the outline (list of functions) exists for JEdit ?
Thanks !
Antoine.
help - /T becomes º (degree symbol?)
Hey folks,
I'm annoyed that everytime I try to type //TODO: the /T part of the string becomes a º symbol. I've tried to find this setting, and can't figure out how to turn this off.
help please!
-steve warren
Few fonts to choose (Linux, Java 1.4.2, jEdit 4.2)
Submitted by Anonymous on Thursday, 4 November, 2004 - 16:54
Hi all,
I only have extremely few fonts in the font selection dialogues.
It's: Bitstream Charter, Courier, Courier 10 Pitch, Cursor, Default, Dialog, DialogInput, Lucida Bright, Lucida Sans, Lucida Sans Typewriter, Luxi Mono, Luxi Sans, Luxi Serif, Monospaced, SansSerif, Serif, Utopia.
Furthermore, most fonts I choose look the same. For expample, Monospaced and Lucida Sans Typewriter are exactly the same.
I would like to use Bitstream Vera Sans Mono, my favorite font, TrueType, looks a bit like Verdana but even cleaner IMHO, and there's also the mono-version for editing

.
I use it everywhere else (except in a terminal). It works with GTK2 font selection dialogs, e.g. with gvim, but not here in jEdit (I guess in other Java apps it also wouldn't work then, but jEdit is the only Java app I use (since 2 days)).
If you need more info (maybe the X11 font paths, but as other font selection dialogues recognize them, it should be all ok...), tell me so I can paste.
I could live with Monospaced (anti-aliased), but it would be cool to have my usual font.
I hope someone can give me some hints on this.
##################################
$ java -version
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
Changing the font of the help window
Submitted by
AndreJRenard on
Thursday, 4 November, 2004 - 17:37
How can I do that?
Critical Bug in jedit 4.2 final "popup selection or Auto complete" when running with JDK1.5
Submitted by Anonymous on Thursday, 4 November, 2004 - 18:29
Critical Bug in jedit 4.2 final "popup selection or Auto complete" with JDK1.5
while using the Ctrl-b == Complete Word or any other popup list selection inside the buffer, jedit crashes or gets killed. could some one pelase investigate.
I tried to look at logs but nothing appears.
I dont have this problem while running with JDK1.4
-yogesh
Help please
Submitted by
nempo on
Thursday, 4 November, 2004 - 21:36
Ok, i download Active perl and the Java 2 to get Jedit to work. Now that i have it working How do i view my script in the dos screen. i have this written.
(taking a high school class) Then when i go to the dos screen and open it up it just turns up in notpad with all the code i wrote. I also tried to change it to html document and it does the same thing. Whats going on? Can anyone help? thanks.
Resize Frame Using Keyboard?
Submitted by
seani on
Friday, 5 November, 2004 - 09:52
The Title says is all really; is there a way to interactively resize a frame using keyboard shortcuts.
In Brief for example, you could:
1) Press ALT-R followed by a direction key. This would select the frame edge to resize
2) Use the direction keys to interactively resize
3) Press ENTER to set the size permanently.
Failing this, is there a method to temporarily toggle the current frame to full size. Again, in Brief, I had ALT-Z bound to toggle-zoom.
Extending EditPlugin
Submitted by Anonymous on Friday, 5 November, 2004 - 17:17
Hi. How can I import the class "org.gjt.sp.jedit.EditPlugin" for the plugin core class?
javac doesn't seem to find it.
Using ANT is compulsory or I can do everything manually?
Thanx in advance,
Mik
jEdit on z/OS
Submitted by
clintolson on
Friday, 5 November, 2004 - 19:28
I trying to run jedit on z/OS (IBM mainframe) with Unix System Services with the following JVM:
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM OS/390 Persistent Reusable VM build cm131s-20040117 (JIT enabled: jitc))
I was able to install jedit (java -jar jedit42install.jar) just fine. Unfortunately, when I start jedit there seems to be a problem reading jedit config files, specifically XML files. I get errors like this:
[error] ActionSet: jar:file:/u/act026/tools/jedit/jedit.jar!/org/gjt/sp/jedit/actions.xml:1: expected character (found "s") (expected "<")
[error] DockableWindowManager: jar:file:/u/act026/tools/jedit/jedit.jar!/org/gjt/sp/jedit/dockables.xml:1: expected character (found "s") (expected "<")
[error] ServiceManager: jar:file:/u/act026/tools/jedit/jedit.jar!/org/gjt/sp/jedit/services.xml:1: expected character (found "s") (expected "<")
[error] jEdit: /u/act026/tools/jedit/modes/catalog:1: expected character (found "s") (expected "<")
jedit will start but it will be unusable because none of its actions are registered correctly. Here is what I get when I select the Global Options tool bar icon:
[warning] EditAction$Wrapper: Unknown action: global-options
Any and all suggestions would be welcome (sorry about the formatting, yikes), thanks!
Print Preview?
Submitted by
di97mnu on
Friday, 5 November, 2004 - 20:39
Hi!
Is there a Plugin to do a Print Preview??
//Marcus
Print Preview?
Submitted by
di97mnu on
Friday, 5 November, 2004 - 20:40
Hi!
Is there a Plugin to do a Print Preview??
//Marcus
Calling an external tool
I'm new in jEdit,
Before surfing all helps, two questions
1/
what is the correct way to call an external tool as a synthetiser, compiler or assembler and capture the tool's output into jEdit ?
2/
Can I jump to an error line from captured output ?
Walter.
How to use mysql in macro?
Submitted by
AndreJRenard on
Saturday, 6 November, 2004 - 04:39
I would like to address a mysql database in a macro:
I put the connector file (mysql-connector-java-3.0.15-ga-bin.jar) in the .jedit/jars directory and used the following statements:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
...
Class.forName("com.mysql.jdbc.Driver");
...
con = DriverManager.getConnection("jdbc:mysql://" + url + "/" + db, login, password);
But I got the error message:
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(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.invokeStaticMethod(Reflect.java:100)
at bsh.Name.invokeMethod(Name.java:872)
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:179)
at bsh.Name.invokeLocalMethod(Name.java:915)
at bsh.Name.invokeMethod(Name.java:805)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.Interpreter.eval(Interpreter.java:641)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:355)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:284)
at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:210)
at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros.java:990)
at org.gjt.sp.jedit.Macros$Macro.invoke(Macros.java:417)
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(Unknown Source)
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)
What should I do?
Loading the plugin
Submitted by Anonymous on Saturday, 6 November, 2004 - 14:13
Hi,
I'm doing a plugin extending class JFrame. I have compiled and archived my files. Later I have put the archive inside directory jEdit/jars. From the jedit Plugin Manager I see that my plugin has been loaded but it's not visible in the application menu!
What could be the problem?
How can I debug other problems?
Thanx in advance,
Mik
brand-spanking newbie needs help.
Submitted by
neurotrash on
Sunday, 7 November, 2004 - 00:36
Will some generous soul tell me how to download the ruby edit mode? I press the download link and I see what to my ignorant eyes is gobbledygook, sans instructions. So?&Huh?etc.
HTML macro
Submitted by Anonymous on Sunday, 7 November, 2004 - 09:13
Hello,
I'm trying to write a macro, that when I select text it adds the tag to that selected text. I have no problem with making that macro. But I do have a problem when I want to make a (un)orded list. I don't know how I have to search for the line ends (/n) in selected text and add text to for every list item.
Can anybody give a hint how I can do that? BTW I don't no much about beanshell and java
Thnx,
Sjmielh
Multiple folding modes at once?
Submitted by
malyvelky on
Sunday, 7 November, 2004 - 18:08
Hi,
I do C++ programming and I'd like to improve the editing experience by getting as much as possible out of code folding.
Basically, I want 3 folding modes at once: fold code between { and }, fold comments, and sometimes explicit fold. How to do it? Thanks! /M. Velky
plugin startup
Submitted by Anonymous on Monday, 8 November, 2004 - 12:14
Hi,
Can a plugin be an extension of swing.JFrame or it must be an axtension of JPanel?
Thanks,
young developer
Default encoding setting for each Sessions (in sessions plugin)
Submitted by Anonymous on Monday, 8 November, 2004 - 13:10
This would be great feature for people working with different encodings. They could set default encoding for each session (project) to load files with.
Anytime I reload session, it loads with default "Global" encoding instead of last used encoding

Thanks for any help.
Window can't be resized / moved
Submitted by Anonymous on Monday, 8 November, 2004 - 15:41
Suddenly i have a strange behaviour. The main jEdit window can not be resized anymore. It has allways the maximum size (screen size - WinTaskbar). I.E. i click the toggle icon for maximize/default-size but nothing happens. It still occupies all of the screen. Interestingly jEdit start up with the maximized window. Minimizing the window, so that only the taskbar icon is visible works ok.
Unfortunately I don't know what has changed. A colleague of mine worked on my PC for just one day and now i have the maximum window effect
jEdit 4.2final, java 1.4.2_03, windows2000 SP4
Can anyone help?