Toggle_Toolbar.bsh v1 by Oswald
Submitted by
Oswald on
Saturday, 20 May, 2006 - 21:07
Toggle view of main toolbar. You can assign some shortcut for this macro and change view of main toolbar without opening Options dialog.
Bean error when opening Outline Plugin
Submitted by
jf_allie on
Sunday, 21 May, 2006 - 23:58
Hello,
I just installed jEdit on a WinXP computer. I'm particularly interested in its folding feature. I installed SideKick and Outline, but when I try to launch Outline I get this Bean error message:
many thanks
jf
--------------------------------------------
java.lang.NoSuchMethodError: sidekick.SideKickPlugin.getErrorSource(Lorg/gjt/sp/jedit/View;)Lerrorlist/DefaultErrorSource;
at outline.OutlineTree.update(Unknown Source)
at outline.OutlineTree.(Unknown Source)
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.gui.DockableWindowManager$Factory.createDockableWindow(DockableWindowManager.java:533)
at org.gjt.sp.jedit.gui.DockableWindowManager.showDockableWindow(DockableWindowManager.java:742)
at org.gjt.sp.jedit.gui.DockableWindowManager$Factory$OpenAction.invoke(DockableWindowManager.java:553)
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$Handler.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$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.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)
Dockable window problem.
Submitted by
inami on
Monday, 22 May, 2006 - 17:23
How to create a new dockable window and make it docked into the view(at any of the 4 positions TOP,BOTTOM,LEFT,RIGHT except FLOATING) defaultly?
--AutoIt v3-- support request
Submitted by
Haloloooya on
Tuesday, 23 May, 2006 - 02:31
Is anyone interested in providing AutoIt support for editing files with JEdit? http://www.hiddensoft.com/autoit3/
Thanks.
Problem with LilyTool Installation
Submitted by
Eng1958 on
Tuesday, 23 May, 2006 - 12:40
Hello,
jedit version: 4.2final
after installation of LilyPondTool Version 02.9 I get the following error message (see messages below) as a BeanShellError and
the PluginError when I start jedit:
"c:\My\Program Files\jedit\jars\LilyPondTools.jar:
Cannot start: java.lang.UnsupportedClassVersionError: lilytool/LilyToolPlugin (Unsupported major.minor version 49.0)#
Try updating a newer version og the plugin"
But I don't know a newer version of LilyPondTool
Any idea ??
Thanks
D.E.
a
java.lang.UnsupportedClassVersionError: lilytool/parser/LilySideKickParser (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.gjt.sp.jedit.JARClassLoader._loadClass(JARClassLoader.java:325)
at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:76)
at java.lang.ClassLoader.loadClass(Unknown Source)
at bsh.BshClassManager.plainClassForName(BshClassManager.java:224)
at bsh.BshClassManager.classForName(BshClassManager.java:170)
at bsh.NameSpace.classForName(NameSpace.java:1265)
at bsh.NameSpace.getClassImpl(NameSpace.java:1165)
at bsh.NameSpace.getClass(NameSpace.java:1106)
at bsh.Name.consumeNextObjectField(Name.java:301)
at bsh.Name.toObject(Name.java:202)
at bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:59)
at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
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 sidekick.SideKickPlugin.getParser(SideKickPlugin.java:142)
at sidekick.SideKickPlugin.getParserForBuffer(SideKickPlugin.java:167)
at sidekick.SideKick.setParser(SideKick.java:131)
at sidekick.SideKick.handleBufferUpdate(SideKick.java:298)
at sidekick.SideKick.handleMessage(SideKick.java:142)
at org.gjt.sp.jedit.EditBus.send(EditBus.java:148)
at org.gjt.sp.jedit.Buffer.propertiesChanged(Buffer.java:1530)
at org.gjt.sp.jedit.Buffer.setMode(Buffer.java:2025)
at org.gjt.sp.jedit.Buffer.setMode(Buffer.java:2058)
at org.gjt.sp.jedit.Buffer.finishLoading(Buffer.java:3920)
at org.gjt.sp.jedit.Buffer.access$800(Buffer.java:71)
at org.gjt.sp.jedit.Buffer$1.run(Buffer.java:280)
at org.gjt.sp.util.WorkThreadPool.doAWTRequest(WorkThreadPool.java:392)
at org.gjt.sp.util.WorkThreadPool.doAWTRequests(WorkThreadPool.java:380)
at org.gjt.sp.util.WorkThreadPool.access$200(WorkThreadPool.java:37)
at org.gjt.sp.util.WorkThreadPool$RunRequestsInAWTThread.run(WorkThreadPool.java:477)
at java.awt.event.InvocationEvent.dispatch(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)
Gruntspud CVS checkout fails
Submitted by
michael1001 on
Tuesday, 23 May, 2006 - 17:39
Hello,
I'm using jEdit and Gruntspud (Windows XP) for about on year and have installed in (a few month ago)
on several computers.
Today I installed jEdit 4.2final and Gruntspud 0.4.6-beta via the plugin manager.
I tried to checkout a CVS module with the profile :ssh2:user1@machineName:/usr/cvs.
The checkout failed with the error message:
java.lang.NoSuchMethodError: console.Console.setShell(Lconsole/Shell;)V
at gruntspud.jedit.GruntspudPlugin.getConsole(Unknown Source)
..
After uninstalling all jEdit components (also settings in directory .jedit) and
reinstallation the error still occurs.
A tip to identify the problem ( or even solve

) would be very welcome.
Regards
Michael
Dropdown box width problem with Firefox 1.5
Submitted by
jlecain on
Wednesday, 24 May, 2006 - 10:28
I am using Firefox 1.5 to browse the Jedit community web site and on that page:
http://community.jedit.org/?q=user/edit the width of all the dropdown boxes (Themes, Timezone, ...) appear minimized.
I can list all the items of the dropdown box but I cannot read the text entirely; in fact I can only see the 2 or 3 first letters.
The dropdown boxes appear well in IE but I don't want to use it
How can I fix that?
XInsert cursor positioning
Submitted by
jlecain on
Wednesday, 24 May, 2006 - 10:30
Hi,
I use XInsert in html pages.
Is it possible that after double clicking on an "insert" the cursor be automatically positioned between the begining and ending tag?
This would allow me to be even more efficient by avoiding an extra click.
For example when inserting a P tag it writes
and I would like to have the cursor ready to write inner text.
Thank you for your reply.
Julien
JTidy Plug in Options
Submitted by
jlecain on
Wednesday, 24 May, 2006 - 12:34
I have JTidy 1.0.1.
After going in the plug-in options for JTidy, when I mouse over a check box a text is displayed in a Help group box at the bottom.
Problem is that the text length varies, and change the height of the help group box.
Result is that the checkboxes and other options above are moved up and down making it impossible to select anything.
How can we fix quickly?
File System Browser doesn't show files
Submitted by
cyrus on
Wednesday, 24 May, 2006 - 13:55
Help

the File System Browser doesn't show any files anymore. I'm using jEdit 4.2 on Mac OSX since more than one year and the File System Browser was working, but now it seems to be broken...
When I use File >> Open menu then all files in File System Browser are shown. Unfortunately you can't dock this File Browser, just the File Browser from the Utilities menu.
Any ideas?
Marc
Opening Unicode files
Submitted by
camomiletea on
Wednesday, 24 May, 2006 - 23:22
When I open a UTF-8 file without a BOM (Byte Order Mark) in jEdit, I see weird squiggly characters (if you know what I mean) in place of expected Cyrillic. I didn't find a place where I could specify the encoding. I also wanted to have the ability to specify 'no BOM' on any UTF-8 files I may create in future.
I was actually able to type in some Russian, but that isn't enough. I need to be able to open Unicode files created in different applications too.
Any ideas?
Default Edit mode : defeating Fortran
I'm editing FORTH files which use the suffix ".f" .
The assembler coloring works well enough for my purposes
and I have set the defaults for both the global and buffer
options to default to that . But something insists on opening
.f files as FORTRAN which I haven't used in 35 years .
How do I kill that ?
jEdit 4.2 question: How to tell if a file exists on a VFS using the FTP Plugin?
Submitted by
txporter on
Thursday, 25 May, 2006 - 03:35
I use the FTP plugin to give me remote access to files. I am trying to write a macro to look in the directory of the file I have open in a buffer and determine if another file exists in the same directory.
On a local file system I would simply create a File instance using a path string I constructed and check to see if it exists, like this:
dirname = dir(buffer.getPath());
FQPN = dirname + "new file name";
java.io.File newFile = new java.io.File(FQPN);
if (newFile.exists()) {
//do stuff
}
If I try this when my buffer is on my remote server, newFile.exists() always returns false, regardless of whether the file actually exists or not. I think this is because dirname is something like "ftp://myuserid@myremotehost:21/path/to/new_file_name"
and the normal java.io.File.exists() method does not understand URI's like this.
Any ideas on how to tell if the remote file exists or not?
I tried unconditionally opening the file and checking the length of the buffer, expecting a new file to have zero length and then I could close it immediately, but since jEdit.openFile(view, pathToFile) does not seem to be a blocking operation, trying to get the buffer length did not work:
1. aBuffer = jEdit.openFile(view,FQPN);
2. if (aBuffer.getLength() == 0) {
3. // file is new, so close it, as I only want new buffer if file exists
4. }
Could I put a VFSManager.waitForRequests() call between line 1 & 2 to wait for the FTP I/O to complete before checking the buffer length? Is this a static call? If not how to I get access to the VFSManager instance associated with my FTP connection?
Thanks!!
Tom Porter
Formating XML tags - automatic indent of tags groups
I'm looking to automaticly indent by tabs XML group tags. Also indent Javascript's "if", functions etc.
Is there such command/plugin/macro?
Content of text area invisible with jEdit4.3pre4 and Java 1.5.0_03
Submitted by
kellner on
Sunday, 28 May, 2006 - 08:27
After serious problems with 4.3pre2 (keyboard froze all the time), I upgraded my openSuSE 10.1 notebook to pre4. The keyboard doesn't seem to freeze anymore, but now the text area content has become invisible. I tried to change all sorts of Global options, but to no avail.
This repeatedly occurs in the activity log:
[error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
[error] AWT-EventQueue-0: java.lang.AbstractMethodError: org.gjt.sp.jedit.buffer.FoldHandler.getFoldLevel(Lorg/gjt/sp/jedit/buffer/JEditBuffer;ILjavax/swing/text/Segment;)I
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.buffer.JEditBuffer.getFoldLevel(Unknown Source)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.buffer.JEditBuffer.isFoldStart(Unknown Source)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.textarea.Gutter.paintLine(Unknown Source)
[error] AWT-EventQueue-0: at org.gjt.sp.jedit.textarea.Gutter.paintComponent(Unknown Source)
[error] AWT-EventQueue-0: at javax.swing.JComponent.paint(JComponent.java:1003)
[error] AWT-EventQueue-0: at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4930)
[error] AWT-EventQueue-0: at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4883)
[error] AWT-EventQueue-0: at javax.swing.JComponent._paintImmediately(JComponent.java:4826)
[error] AWT-EventQueue-0: at javax.swing.JComponent.paintImmediately(JComponent.java:4633)
[error] AWT-EventQueue-0: at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
[error] AWT-EventQueue-0: at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
[error] AWT-EventQueue-0: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
[error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Any advice?
(And: would it be possible to increase the width of the forum dropdown list on the submission page? On Linux Firefox 1.5.0.1, I can see only the introducing dash and the first two letters of a forum's name, which makes forum selection pure guesswork.)
Thanks in advance,
Improving the verilog mode
Submitted by
wipet on
Monday, 29 May, 2006 - 13:23
Hi, I am trying to improve the verilog mode to fit a coding guildline, I whant the "begin" and the "end" to be aligned.
The problem is that I am not able to tell jedit to lineup the "end", I've trided by using :
"PROPERTY NAME="indentOpenBrackets" VALUE="begin" /"
"PROPERTY NAME="indentCloseBrackets" VALUE="end" /"
with no sucess.. can someone help?
(sorry for my bad english)
tx in advance
Using jedit with multiple clients
Submitted by
Alain on
Monday, 29 May, 2006 - 15:44
Hi,
I am using Jedit with Mandrake 9.0, installed on a specific PC. We use VNC to connect to the Linux account from other Pc's (Windows PC's). Suppose we are 2 clients connecting to the same linux account (same login), but working on different KDE desktops (possible with VNC). Then, the first client runs Jedit --> it works fine. But the second client cannot open the Jedit window on its own PC. Instead, the window is opened on the first client terminal...
Is there some parameter to set or configuration that could help ??
Thanks
Questions on the Console and Project Viewer plug-ins
Submitted by
technel on
Tuesday, 30 May, 2006 - 04:10
Hello,
I am using jEdit for Ruby on Rails development. Code completion, abbreviations, etc. work well, but I am still having some issues.
First, when I run a generator that finds duplicate files, it asks for user input as to whether or not to overwrite the files. In the regular Windows command prompt, this works fine, but in the jEdit console, it just shows it as "Working..." and doesn't ask if you want to overwrite.
Second, when you run the WEBrick server, you must leave the console window open. Is it possible to create a macro to create a new floating instance of Console and run the required command ("ruby script\server")?
Third, when I use a generator, it creates a lot of files. I use them quite frequently, and it can sometimes be annoying to have to go to re-import files every time a file is created outside of jEdit. Is it possible to have jEdit monitor the directory and auto-import newly created files, even when jEdit is open?
Thanks!
6502 assembly edit mode (assembly-6502.xml v0.1 by Aaron Forrest)
Submitted by
aarfo on
Wednesday, 31 May, 2006 - 01:46
Edit mode for 6502 assembly language, with highlighting for XASM assembler directives
Be sure to add the following line to your modes/catalog file
<MODE NAME="assembly-6502" FILE="assembly-6502.xml"
FILE_NAME_GLOB="*.asm" />
PHP Project error
Submitted by
metric152 on
Wednesday, 31 May, 2006 - 21:30
I received a new updated today for the Project Viewer plug-in. Once I restarted jEdit I received the error
PHP Project
Your project is in an invalid file format. You have to refresh the project.
I tried moving jar's in and out of the main program folder until the error stopped. Once i figured out which one it was (PHPParser) I removed the PHPParserPlugin folder from ~./jedit/PHPParserPlugin directory and let jEdit recreate it. That solved the problem for me.
If anyone else runs into this error I hope it will help.