jEdit Community - Resources for users of the jEdit Text Editor
Can't run some macros: "Class: gnu.regexp.RE not found in namespace"
Submitted by sempliciotto on Sunday, 20 April, 2008 - 12:32
Hi,
I have a problem running some macros, like Text_Squeezer. I'm on an Ubuntu hardy; I have downloaded jEdit 4.3pre13 from ubuntu repository; I have installed sun-java6-jdk.

$ which java
/usr/bin/java
$ java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)


If I run Text_Squeezer macro I got this error:

Sourced file: /home/gius/.jedit/macros/Text_Squeezer.bsh : Class: gnu.regexp.RE not found in namespace : at Line: 32 : in file: /home/gius/.jedit/macros/Text_Squeezer.bsh : gnu .regexp .RE

at org.gjt.sp.jedit.bsh.BSHAmbiguousName.toClass(BSHAmbiguousName.java:74)
at org.gjt.sp.jedit.bsh.BSHType.getType(BSHType.java:154)
at org.gjt.sp.jedit.bsh.BSHFormalParameter.eval(BSHFormalParameter.java:67)
at org.gjt.sp.jedit.bsh.BSHFormalParameters.eval(BSHFormalParameters.java:107)
at org.gjt.sp.jedit.bsh.BSHMethodDeclaration.evalNodes(BSHMethodDeclaration.java:153)
at org.gjt.sp.jedit.bsh.BSHMethodDeclaration.eval(BSHMethodDeclaration.java:122)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:336)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:281)
at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:207)
at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros.java:1020)
at org.gjt.sp.jedit.Macros$Macro.invoke(Macros.java:441)
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:2983)
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:1220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
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:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
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)

What's wrong? Is required some other package or ubuntu's jedit is bugged?

Thanks
Interface becomes blank during external processing
Submitted by tj_sony on Thursday, 17 April, 2008 - 10:27
In my below contents, please substitue '[' and ']' with 'open angle bracket' and 'close angle bracket' respectively.

Contents of my jedit_gui.props is as follows
#{{{ process menu
process=aaa \
bbb \
ccc \
ddd \

Contents of my actions.xml is as follows
[ACTION NAME="aaa"]
[CODE]
view.selectProcess("aaa",buffer);
[/CODE]
[/ACTION]

[ACTION NAME="bbb"]
[CODE]
view.selectProcess("bbb",buffer);
[/CODE]
[/ACTION]

[ACTION NAME="ccc"]
[CODE]
view.selectProcess("ccc",buffer);
[/CODE]
[/ACTION]

[ACTION NAME="ddd"]
[CODE]
view.selectProcess("ddd",buffer);
[/CODE]
[/ACTION]

Contents of my View.java is as follows
public void selectProcess(String action,final Buffer buffer) throws IOException
{
...
}

From my customized jedit.jar, when I select anyone of the 4 menubar options (i.e., either aaa, bbb, ccc or ddd), its respective external process happens. But during the happening of the process, the jedit userinterface becomes blank. And till the external process for the respective menubar option is completed I cannot do anyother process on the jedit userinterface.

I think to solve this problem, I need to use Multithreading. Could anyone please tell me where and how do I use Multithreading concept in my above program.
Superscript plugin with javascript (Rhino) fails to work
Submitted by phade on Wednesday, 9 April, 2008 - 16:55
Hello to all users of this excellent editor Smiling

Trying to get SuperScript plugin to work with Rhino:

jEdit4.3pre13 with Java 1.6.0

- Downloaded Rhino 1.7R1 and put the jars js.jar and js-14.jar to ~/.jedit/jars
- Ran jedit from the shell (in order to get output to debug)
- Set superscript script mode to javascript and tried to run print("Hello"), no output in superscript plugin but shell displayed error


java.lang.NoSuchMethodError: org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug/DebuggableEngine;

- googled and found that I probably should use newer bsf (2.4) (SuperScript has bsf 2.3 included and documentation also states that bsf 2.3+ can be used)
- downloaded newer bsf 2.4.0 and replaced the one in ~/.jedit/jars
- started jedit, it started but displayed error in shell:

7:24:47 PM [error] AWT-EventQueue-0: log4j:WARN No appenders could be found for logger (org.apache.bsf.BSFManager).
7:24:47 PM [error] AWT-EventQueue-0: log4j:WARN Please initialize the log4j system properly.

- tried javascript engine again and got output in superscript

org.apache.bsf.engines.javascript.JavaScriptEngine

- also beanshell engine in superscript did not worked anymore (worked fine with superscript included bsf 2.3) and output to superscript window:

bsh.util.BeanShellBSFEngine

- googled and found out that bsf 2.4.0 needs new common-logging.jar from apache commons, downloaded it (commons-logging-1.1.1.jar) and placed in ~/.jedit/jars

- no change still the error in shell and superscript engines fail to work
- decided to try some manual java trickery:

loaded jedit like this:

java -cp jedit.jar:commons-logging-1.1.1.jar:bsf.jar:bsh-2.0b4.jar:js.jar:js-14.jar org.gjt.sp.jedit.jEdit

(in actual command correct jar paths of course were used)

- that way I got no errors on startup, beanshell engine worked in superscript but rhino javascript (ran print("Hello") still failed displaying:

ReferenceError: "print" is not defined.

and shell displayed:

7:49:35 PM [error] SuperScriptPlugin: JavaScript Error: Internal Error: org.mozilla.javascript.EcmaError: ReferenceError: "print" is not defined.
7:49:35 PM [error] SuperScriptPlugin: org.apache.bsf.BSFException: JavaScript Error: Internal Error: org.mozilla.javascript.EcmaError: ReferenceError: "print" is not defined.


So has anyone got newer bsf or Rhino javascript engine to work with SuperScript? I know that some have got bsf 2.4.0 to work with superscript 0.5pre but I can not find this pre version anywhere.


PS: the shell outputted of course more in all cases but I included only relevant lines in the post. If you want to see more just let me know.

All the best,
Villu
Problem updating changes to a file in BufferTab mode
Submitted by tj_sony on Thursday, 3 April, 2008 - 05:41
I have two buffertabs 123.xml and 123.tex. Through some internal processing when I do some changes to 123.xml it gets reflected in 123.tex. But the following pop up menu comes only when I go to some other window and come back.

Files Changed on Disk
The following files were changed on disk by another program:
Automatically reloaded:
C:\123.tex

My problem is why I need to go to someother window and come back to see the above pop up and also for the 123.tex file to get updated.
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
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.
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)
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)
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)
ssh_exchange_identification: Connection closed by remote host
Submitted by jfmxl on Sunday, 2 March, 2008 - 23:43
Working on a remote file eventually exhausts the number of allowed processes at my ISP provided server.

The problem seems to be that the FTP module for jEdit does not close any of the many ssh connections it makes to my server to send and retrieve files.

My present workaround is to keep a terminal window open to the server and kill off by hand the two ssh processes opened by jEdit every time I save changes to a file I'm editing.

The alternative is to be locked out of the server for hours when my the number of allowed processes is exceeded.

Are you all aware of this problem? Is there a solution forthcoming?

I must add : thanks for a very wonderful editor!
ssh_exchange_identification: Connection closed by remote host
Submitted by jfmxl on Sunday, 2 March, 2008 - 23:41
Working on a remote file eventually exhausts the number of allowed processes at my ISP provided server.

The problem seems to be that the FTP module for jEdit does not close any of the many ssh connections it makes to my server to send and retrieve files.

My present workaround is to keep a terminal window open to the server and kill off by hand the two ssh processes opened by jEdit every time I save changes to a file I'm editing.

The alternative is to be locked out of the server for hours when my the number of allowed processes is exceeded.

Are you all aware of this problem? Is there a solution forthcoming?
^1 ^2 ^3 stopped working
Submitted by McSwell on Sunday, 2 March, 2008 - 03:55
Sometime recently (in the past week or so?), Control-1, control-2, control-3 etc. stopped working in jEdit. Before I report this as a bug, I thought I would run it by here in case anyone had any ideas.

^1, ^2 etc. are the default keys for splitting the window. I checked and they are still assigned to those functions in the Utilities | Global Options under the Shortcuts; but when I try to assign them to some other function, they don't register at all. That is, if I click on a cell, jEdit pops up a little dialog box allowing me to "Specify Shortcut". If I type most any key, it shows up in the text box; but ^1, ^2 etc. don't appear. It's as if they aren't getting pressed. Oddly enough, ^6 still works, as does control-minus; but none of the other combinations of the control key with the top row work.

Control-. control-, and control-/ have also stopped working, and several others. I believe all the control-alpha keys work.

I thought maybe some other program was interfering. But I fired up my Other Editor, Visual Slickedit, and all these keys work fine there.

I would suspect a bug in some late version of jEdit or in Java, but if so it is odd that no one else has reported this. I did install a new Java just yesterday: 1.6.0_04, but I've also tried this with Java 1.6.0_03 and 1.5.0_02. And I'm using jEdit 4.3pre12; I have not yet tried reverting to an earlier version, although I suppose I'll try that and report back. I am running on Windows XP, all service packs. I tried both left and right control keys, and also the CapsLock key (which I've mapped back to a control key, as God intended it).

Any suggestions?

Mike Maxwell
CASL/ U MD
XSL Plugin install failed
Submitted by Davide Bizzocchi on Tuesday, 12 February, 2008 - 14:52
Hi everyone, I have a problem with the installation of the XSLT Plugin in jedit 4.3pre12.
I tried downloading it from every mirror, but it keeps reporting this error at the end of the download:
"Error while downloading the plugin, please try another mirror".

Also, if I try to download the plugin manually, the zip file is corrupt and I cannot open it.
right to left
Submitted by al-yamani on Thursday, 31 January, 2008 - 18:38
i tried

componentorientation.right_to_left

but it is not working with jedit text area

please help
jEdit needs time to respond under Windows XP
Submitted by weberjn on Monday, 28 January, 2008 - 10:15
Hi,

occasionally (about once or twice during a workday) when I Alt-Tab to jEdit, it takes several (10-15) seconds until I see jEdit's Gui and it accepts input.
But most of the time it is immediately visible and accepts input.

Has anybody else seen this behavour?

It looks like Windows XP has swapped out jEdit and needs time to load in again, or if the Java VM is waiting for something to become available.

I start jEdit with jEdit launcher using

D:\jdk1.6.0_04\bin\javaw.exe -mx64m -jar jedit.jar

Thanks,
Juergen
jedit and maya : see maya return statement in jedit??
Submitted by timou on Sunday, 13 January, 2008 - 13:37
Hi..

I installed all jedit plugs to run with Maya...

BUT I dont know if it's possible to see in jEdit the maya return with the Maya plugin(error log, return variable, etc...)

Thanks Smiling
Consolue plugin and path back/forward slash confusion
Submitted by ky8080 on Friday, 11 January, 2008 - 21:07
Folks,

Apologies if this is the wrong place for this topic, I am new to the forums. I've been using jEdit for years and I finally ran into an issue with the latest RC and correlated Console plugin that led me to sign up here.

I typicaly use jEdit for C/C++ development, and the Console like a shell; so I run my make files from within the Console so that I can trap the errors. My current Console plugin version is 4.2.6.5. I recently tried upgrading to the latest jEdit RC and along with it came a new Console.

However, now whenever I use a forward slash in the Console in any of my commands (jEdit on Windows), they get automatically converted to backward slashes on my Windows platform. As I am running commands which run inside Cygwin the slashes need to be preserved.

Is there any way to go back to the way things were with slashes? I am now permanently stuck in RC10 since any move forward upgrades my Console which makes it unusable for me on Windows.

Regards,
K.
SVNPlugin diff question
Submitted by edrubins on Wednesday, 9 January, 2008 - 03:26
When I use SVNPlugin->diff on a buffer against the head revision I get a pop up saying there is no difference between the local copy and the repository even though SVNPlugin->status shows the file is modified. If I do the diff against the latest revision in the repository the diff works as expected. Can someone tell how to get the diff against the head to work?
setup jEdit with Mayta... arrrgh, help!!!
Submitted by timou on Tuesday, 1 January, 2008 - 21:26
Hi... since I doesnt find any MEL scripter, I try jEdit who seems really cool.

BUT so haaard to setting up... why you don't share config file for maya with all plugins already installed, it's just a pain....

So.... my problemS are :

1.The doc in infoviewer doesnt work and say :
Error
The URL file:/D:/_Applis/3d/Alias/Maya2008/docs/Maya2008/en_US/Commands/null.html could not be found.

2.I cant see what maya say in jEdit when I source a file...
Where is the return flag?

anyway, if some ppl can help me... thanks....
There is no place in the web to share config file? Smiling

Thansk a lot
Printing fails with a Beanshell error
Submitted by cherax on Friday, 23 November, 2007 - 05:28
When I attempt to print a text file, I get a long Beanshell error (and no printing) that starts with:

java.lang.NullPointerException: null attribute
at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1100)
at sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2092)
etc. etc. etc.

Checking the "use old printing API" doesn't help.

This happens with jEdit 4.2 stable and with 4.3pre11, and with java 5 and 6. I'm using Kubuntu 7.10.

Any ideas?
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
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   82349
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
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