jedit + usb HOWTO posted
Submitted by Anonymous on Tuesday, 2 November, 2004 - 01:27
I have helped a few people with a .bat file I have created to use a usb and jedit from any computer with Java on it...
For those who may find it helpful, here is a sortof "howto" on how to accomplish this. Here is a link to a page I made up describing this process for windowsXP.
http://blue_technx.tripod.com/usb-jedit.html
regards,
David Gurba
uncomment java code
Hi all , does anybody know a smart tip to uncomment java comment in java source (both range /* and //)?
New releases
Submitted by
Steinam on
Tuesday, 2 November, 2004 - 10:27
Hi All,
it has been some weeks now JEdit 4.2 was released. When will be the next release ? Any hints ?
KS
Browse and link (browseAndLink.bsh v20-Mar-05 by Pavel Štětina and Jean-François Magni)
Submitted by
jfm on
Tuesday, 2 November, 2004 - 13:16
(If this macro doesn't work using the macro manager, download it directly from http://community.jedit.org/?q=filestore/browse/39).
This macro opens a file browser in order to insert links with relative path in an html file. It can be used for linking html, pdf, images, shortcut icons, style sheet files and Javascript files. For images, "width" an "height" in pixel are added. If html files are selected in the file browser, the anchors and id's of this file are listed in a dialog window. It is also possible to edit existing tags (e.g., img) and much more.
preview of buffer in browser without saving (infoViewer)
Submitted by
Jere2 on
Tuesday, 2 November, 2004 - 23:41
I'm using InfoViewer to view HTML page in browser. But it is always necessary to save file.
Is it possible to make same option to view edited buffer withnout saving (like in HomeSite)?
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.