jEdit Community - Resources for users of the jEdit Text Editor
Archives
bakup JEdit
Submitted by srikrishnan on Thursday, 13 March, 2008 - 10:10
Hi All,

I am going to format my system. Before that I want to take bakup of my current plugins and customized interface options and I want to reuse that in my new formatted Windows environment.

Is it possible to make a bakup of my current JEdit and reuse it?

Please help me to solve this problem, because I have downloaded most probably all the plugins and macros and customised many shortcuts and JEdit Interface for my work.

Regards,
Srikrishnan
BufferTabs Plugin stopped working in 4.3pre13
Submitted by scaRFhogg on Friday, 14 March, 2008 - 00:32
When I try to enable it in the Plugins menu it gives me this BeanShell Error:

java.lang.NoClassDefFoundError: gnu/regexp/REException
at buffertabs.BufferTabs.propertiesChanged(Unknown Source)
at buffertabs.BufferTabs.start(Unknown Source)
at buffertabs.BufferTabsPlugin.addBufferTabsToEditPane(Unknown Source)
at buffertabs.BufferTabsPlugin.toggleBufferTabsForEditPane(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134)
at org.gjt.sp.jedit.bsh.Reflect.invokeStaticMethod(Reflect.java:98)
at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:871)
at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80)
at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362)
at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258)
at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186)
at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock(BeanShellFacade.java:224)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:443)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:383)
at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:3000)
at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2984)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:220)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
BufferTabs Plugin stopped working in 4.3pre13
Submitted by scaRFhogg on Friday, 14 March, 2008 - 00:33
When I try to enable it in the Plugins menu it gives me this BeanShell Error:

java.lang.NoClassDefFoundError: gnu/regexp/REException
at buffertabs.BufferTabs.propertiesChanged(Unknown Source)
at buffertabs.BufferTabs.start(Unknown Source)
at buffertabs.BufferTabsPlugin.addBufferTabsToEditPane(Unknown Source)
at buffertabs.BufferTabsPlugin.toggleBufferTabsForEditPane(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134)
at org.gjt.sp.jedit.bsh.Reflect.invokeStaticMethod(Reflect.java:98)
at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:871)
at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80)
at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362)
at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258)
at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186)
at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock(BeanShellFacade.java:224)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:443)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:383)
at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:3000)
at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2984)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:220)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Find/Replace Dialog not working in pre13?
Submitted by christophergraz on Friday, 14 March, 2008 - 16:47
I'm trying the new pre13 release on Windows XP, and I'm getting a Java exception whenever I try to use the Find/Replace dialog. I've tried fresh installation (including clearing out any jedit config files in my personal folders, and not running any additional plugins) using both the native Windows installer as well as the Jar installer, with no difference.

Below is the exception. It looks as if the dialog is launched by running some kind of beanshell script inside of Jedit.

Is anyone having the same problem? Anyone have any workarounds? Anyone know where this beanshell definition lives (if I'm correct about how it works)?

java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at javax.swing.DefaultListModel.elementAt(Unknown Source)
at org.gjt.sp.jedit.gui.HistoryModel.getItem(HistoryModel.java:86)
at org.gjt.sp.jedit.search.SearchDialog.setSearchString(SearchDialog.java:151)
at org.gjt.sp.jedit.search.SearchDialog.showSearchDialog(SearchDialog.java:109)
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 org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134)
at org.gjt.sp.jedit.bsh.Reflect.invokeStaticMethod(Reflect.java:98)
at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:871)
at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80)
at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362)
at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258)
at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186)
at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock(BeanShellFacade.java:224)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:443)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:383)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:349)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:197)
at org.gjt.sp.jedit.input.AbstractInputHandler.processKeyEventKeyStrokeHandling(AbstractInputHandler.java:364)
at org.gjt.sp.jedit.gui.InputHandler.processKeyEvent(InputHandler.java:152)
at org.gjt.sp.jedit.textarea.TextArea.processKeyEvent(TextArea.java:4731)
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.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(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)
Auto enumeration with search-replace (something like \# in Emacs)
Submitted by cornelius on Friday, 14 March, 2008 - 17:44
Hi,

I've been looking for a feature in Jedit, but couldn't find it so far. Emacs allows a special regular expression in replacement strings: \# This gives the current match number/index, i.e. 0 if this is the first match, 1 if second, 2 if third, etc... You can also add an integer to that to start enumeration at any number. So with this, you can automatically enumerate things pretty easily. That is, you can convert

cat
dog
lion
monkey
elephant

into

1 cat
2 dog
3 lion
4 monkey
5 elephant

with a single search-replace operation using \#

Is this possible with jEdit either with regular expressions or with a beanshell script? If so, how?

Thanks in advance.
Any idea about TextAutocomplete plugin for 4.3pre12 & 4.3pre13?
Submitted by Lemon Juice on Saturday, 15 March, 2008 - 19:18
Does anyone know what is the status of the TextAutocomplete plugin that stopped working in 4.3pre12? I was able to find some activity in the tracker:

http://sourceforge.net/tracker/index.php?func=detail&aid=1891898&group_id=588&atid=625093
http://sourceforge.net/tracker/index.php?func=detail&aid=1865039&group_id=588&atid=997937

But I can see that in 4.3pre13 I still can't use the plugin. When can the updated version be expected? I really miss this plugin and would be even willing to help but unfortunately I program in PHP not java.

I also see that few people visit this forum - what is the best way to let the developers know/remind about certain issues? I thought about creating a new bug report but didn't want to clutter the tracker with another similar report.
Requesting ability to search&replace on multiple ':'-separated directories at once
Submitted by LDiracDelta on Sunday, 16 March, 2008 - 15:51
I have code that is separated across a number of different directories, but these directories are described by a ':' separated environment variable. I'd like to put that string into the directory text label and then have it search those directories.
how to run ruby script
Submitted by bench on Monday, 17 March, 2008 - 21:28
hi!

im following this

http://ruby-talk.markmail.org/message/pw5woijhd4lp3grd?q=jedit

hoping to do the above mentioned task, however, i can't still get a program to run. i get this cryptic beanshell error.

i have the rubyplugin installed.

what am i missing to be able to run a ruby script inside jedit? i also want to have the run result/output generated in one console/window.


thank you!

cajoe
Hanging problem
Submitted by srikrishnan on Tuesday, 18 March, 2008 - 08:10
Hi,

I am using JEdit mainly for the purpose of Writing and Editing XML and Perl Scripts in my Windows 2000 Professional Operating System.

I am encountering JEdit gets Hanged problem very often mainly with the use of plugin "console".

Particularly when i writing a perl script, if, for the testing purpose when I run the script using JEdit plugin console. I am not able to terminate the script by any shortcuts as like in Command prompt with "ctrl+C".

Also in one occasion, I have written a perl script to run infinitely for the purpose of Watch folder concept. At that time for testing purpose I have run that script in "Console". Even after closing the JEdit also script runs in background. At last I have restart my system. But this is not the case in "Command Prompt".

May I know whats the reason for the above behaviors, may be it could be the problem of JEdit with my type of OS.

Please check.

Regards,
Srikrishnan
yellow triangle with exclamation mark at left side of textarea
Submitted by purex on Thursday, 20 March, 2008 - 09:35
Hi all, I've yellow triangle with exclamation mark at left side of textarea in my jEdit 4.3pre. While browsing my mouse over it, it displays . I don't know which plugin provide this. So I do not know how to disable it. This annoying icon is displayed for every line in all kind of files, also on simple text files. Can someone tell me how to disable it? Thx, Christoph
Understand Jedit coding
Submitted by insp on Monday, 24 March, 2008 - 05:49
Hi can any one help me to understand jedit coding. especially the view part of it.
I urgently need an editor in java with syntax highlighting.

can any one help me to separate the syntax highlighting feature of jedit and apply to a stand alone editor.

Its very urgent.. pls help
Can JEdit be used as fully functional Java IDE?
Submitted by Ricardo san on Tuesday, 25 March, 2008 - 00:11
Well? I am programming in Java and can't install anything on the computer. JEdit.jar is what I'm using right now. But a lot of plugins don't work, saying stuff like "cannnot find java.core.java" or something.
When i try to use the jcompiler plugin i get this error
Submitted by fractal00 on Tuesday, 25 March, 2008 - 13:32
When i try to use the jjcompiler plugin i get this error:
Cannot start jcompiler.JCompilerPlyugin$ToolsJarNotFoundException: Could not find library tools.jar!
Templates won't work
Submitted by klaxon62 on Saturday, 29 March, 2008 - 00:51
Folks,
Working with a newish install of Jedit4.3pre9, and plugin Templates 3.3.0 on a Vista Home machine. Behaviour same with similar config on an XP machine. We have good working setup on 2 older installs on XP.

Templates are plain text, no extra code.

When trying to apply a template from the template tree, it fails silently -- text not inserted, no error message.

When applying template from menu Plugins->Templates, the I get the following dump.


If anyone could shed some light on this I would really appreciate it.


____________

java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.JEditTextArea.getBuffer()Lorg/gjt/sp/jedit/Buffer;
at velocity.jEditContext.getLeadingWhiteSpace(Unknown Source)
...
Generate Dummy XML from DTD
Submitted by srikrishnan on Saturday, 29 March, 2008 - 06:05
Hi All,

In JEdit, is it possible to generate Dummy xml from the selected DTD as same as in XML spy or Stylus studio?

Is there any plugin for this?

Thanks in Advance,
Srikrishnan
HOWTO: Integrate RSpec on Rails with Jedit
Submitted by dpdnolan on Sunday, 30 March, 2008 - 11:20
Hi, I've hacked together a setup to load an RSpec backtrace into jEdit (in
other words, you'll be able to click the relevant failed behaviour or error
to go straight the relevant file and line).

More info here:
http://textgoeshere.org.uk/articles/2008/03/howto-integrate-rspec-on-rails-with-jedit/

Cheers,
Dave

--
Dave Nolan
http://textgoeshere.org.uk
plugins > plugin mgr > install tab > textarea fiont color (change color?)
Submitted by 222fbj on Sunday, 30 March, 2008 - 12:41
Where do I control the font color for this? I customized my edit area text colors with black background - and they look good. But the 'plugin install description' textarea is now black on black (ie if I highlight text with mouse I can see it.) I tried both on/off for Utilities > Global Options > Jedit Appearance > Experimental > 'Use Jedit text area colors in all text components'. All other text looks fine.

thanks
Find Whole Word only?
Submitted by harmlesscat on Monday, 31 March, 2008 - 03:10
In the Find dialog, I'd like to be able to search for whole words only. E.g., I want to search for the word "cat" but not match occurrences of "catalyst". I cannot just put spaces before and after the word, because there are word delimiters other than a space, such as a comma, period, semi-colon, etc.

Some editors, UltraEdit I believe being one, has a "Find Whole Word Only" option in the search dialog, but jEdit does not. Does anyone know of an easy way to do this in jEdit, via a plugin or perhaps a regular expression? (If the latter, I'd prefer not to have to manually enter every possible punctuation mark every time I search this way.)
Why not to Support groovy for SideKick plugin
Submitted by zcjsg on Tuesday, 1 April, 2008 - 03:24
I found some suggestions about how to use groovy for jedit,But the SideKick plugin doesn't support the "groovy parser",Why not to extend the parser for groovy?
Eagerly expected!
Best Wishes!
DTD to XML
Submitted by srikrishnan on Tuesday, 1 April, 2008 - 15:37
Hi All,

In Stylus Studio, there is an option "DTD to xml". I hope you all aware of that. We will generate a dummy xml using that option for the selected DTD. It will useful for us to get a visual idea, tag hierarcy, what are all the elements available in the DTD, etc.
Is there any plugin available in JEdit? or is it possible to create such a one in JEdit?

Regards,
Srikrishnan
User login
Browse archives
« March 2008 »
MoTuWeThFrSaSu
 
1
3
4
6
7
9
10
11
19
21
22
23
26
27
28
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293