I've been using NetBeans and I'm really sick of it. I want to try something different, and I really like using JEdit for all my other stuff. I've got the hang of Java, but Netbeans does most of the compiling and stuff for you. I cant get the compiler to work for me at all. This is the error I keep getting....
java.lang.NoSuchMethodError: console.Console.setShell(Lconsole/Shell;)V
at jcompiler.JCompilerPlugin.executeCommand(JCompilerPlugin.java:106)
at jcompiler.JCompilerPlugin.compileFile(JCompilerPlugin.java:120)
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:585)
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:171)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
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(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
If anyone would be able to help me, I would really appreciate it.
PrevWord.bsh - like Go to Previous Word (Eat Whitespace) but don't eat whitespace in front of the word.
SelectPrevWord.bsh - like Select Previous Word (Eat Whitespace) but don't eat whitespace in front of the word.
BackspaceWord.bsh - like Delete Previous Word (Eat Whitespace) but don't eat whitespace in front of the word.
Using these for the shortcuts C-left, CS-left, and C-backspace gives you word movement that always stops at the beginning of words, but does not stop at the end of words.
(For the 'Next' variants use the standard actions with (Eat Whitespace))
The Move_Selection_* macros allow you to ... well, move the current selection around.
If you like you can bind them to complicated shortcuts and ruin your fingers. ;-)
(I use AS- plus the standard movement keys... e.g. ASC-left to move past one word on the left)
There is lots of ugly code duplication in these macros, but I guess it's ok as these should not be macros but builtin anyway. :-)
Hi,
I have made a smal commando script to compile (with wmake) and run an application.
This script do 2 thinks, first it compiles my app and then run it (in the system shell) in a directory specified by the user.
This commando script works well with Jedit 4.2final but I'm unable to make It work with Jedit 4.3pre3 with console 4.2.5.1 and 2sdk1.5-sun: the compilation with wmake works fine but I'm unable to lauch my app ? But the 4 commands in the commando dialog are there but in only do the first two ...
Is it a bug with console 4.2.5.1 ?
Any ideas ?
Here is the commando xml file:
buf = new StringBuffer("cd ");
buf.append(compildir);
buf.toString();
buf = new StringBuffer();
if (target.equals("wmake_all")) {
buf.append("wmake");
}
else if (target.equals("wmake_debug")) {
buf.append(" ");
}
else if (target.equals("wmake_clean")) {
buf.append("wclean");
}
buf.toString();
buf = new StringBuffer();
if (exe) {
buf.append("cd "+casedir);
}
buf.toString();
buf = new StringBuffer();
if (exe) {
buf.append(application+" .. ");
buf.append(MiscUtilities.getFileName(casedir));
}
buf.toString();
I am using JEdit 4.2 under Windows XP. The Whitespace-Plugin (Version 0.9.2) does not show up any Whitespace-Characters, although I configured it to do so. Is there some workaround?
Sorry if I'm posting a trivial question, but as I use jEdit in Windows and have it as my standard editor in Total Commander, or even as a default source viewer in the browser jEdit keeps opening a new buffer window (complete with all files, file browser, etc...) each time I open a new file in this way. The only way to open a file in jEdit without causing it to open a new instance is by drag-n-drop or by using the built in file browser.
Is there any way to force jEdit to reuse its buffer and not open a new window each time? Ideas appreciated...
I have been using jEdit on Linux for over a year. I recently got a MacBook Pro.
I have a problem on the Mac that did not exist on Linux. When I switch to jEdit from another application (it can be cmd+tab or mousing) the arrow keys do not work. If I type a character they then begin to work.
The only plugins I have installed (beyond defaults) are Buffer Tabs and FTP.
If anyone can help me find the problem I would appreciate it.
I hope this is the right place to post...
I have been using jEdit on my laptop running Windows XP, and have been very happy with its performance. When I am at work, and connected to the corporate LAN or wireless LAN, jEdit works just great.
But, when I am disconnected from the corporate LAN and working without any network connection, jEdit is extremely sluggish (for example it takes jEdit 3 seconds to respond to and complete pressing the page down key in a 1500 line C souce code file).
Even if I connect to my network at home or to the corporate VPN from my home network, jEdit is still sluggish.
I've disabled and un-installed all plugins to make sure it wasn't something related to a plugin, but this had no effect.
Hi all,
Since installing jEdit recently I've been experiencing a problem when jEdit starts. The first time I launch jEdit after a reboot all seems well. However, often if I close jEdit and then reopen it later, it will hang for 30 seconds after the splash screen. During this period absolutely everything freezes - any music playing stops and my mouse cursor is immovable. When jEdit finally loads I'm left with a totally unusable GUI. I'm relatively new to jEdit so I really have no idea how to figure out what is causing the problem.
Just in case it's relevant, here's some extra info:
I'm using Sun's 'jre1.6.0' and also tried 'jre1.5.0_06' - both yield the same results.
Any assistance would be greatly appreciated as I'm totally stumped. Thanks in advance,
Ant.
I've spent about 2 days trying to install jEdit properly on my computer(windows XP). Today I finally got everything working. and I started playing around with all the things you can do with jEdit. I am just starting to learn how to program in Python. Everything works fine but I have a question about macros.
I know how to record macros. I know how they work and what they are, (Beanshell or Jython scripts) but I don't know how to assign keyboard shortcuts to my created macros. Is there a way to do this?
I want to be able to edit files on multiple Macs (running a mixture of OS 10.3 and 10.4), with the preferences kept consistent between the computers. What is the simplest way to do this? I couldn't find the file which stored my preferences, but if somebody could tell me where I can find it then I will keep it synchronised between the computers and that will be great.
Other than this minor issue jEdit has been great -- keep up the good work!
Hi evyone,
i'd like to install and use the background visual plugin (link: http://plugins.jedit.org/plugins/?Background)
It's not working, i dont know why.
I installed it form the Plugin Manager inside jEdit (version 4.2 final).
Now I can find the background item in the Plugins Menu.
The item looks chacked, but if i click on it i get this error message:
-------------------------------------------------------------------
java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.JEditTextArea.getFoldVisibilityManager()Lorg/gjt/sp/jedit/textarea/FoldVisibilityManager;
at background.BackgroundHighlight.updateTextArea(Unknown Source)
at background.BackgroundHighlight.toggleHighlightEnabledFor(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:171)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
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)
-------------------------------------------------------------------
What's the matter?
I dont know how to chose an image, or how to solve this problem...
Hi, i'd like to customize as much as i can jEdit (i am a newbie, so please forgive me if i poststupid questions ).
I like those colors, i know i can change those setting in the global option menu.
But, how can i "create" the effect used in the screenshot to collapse or expand some parts of code?
http://jedit.org/index.php?page=screenshot&image=21
I use and love the sftp plugin but I notice that on some of my servers (gentoo) I get many defunct sshd/sftp-server processes. Anyone else seeing this issue?
My SSH servers are:
# ssh -V
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
In the sshd_config file I had these values:
# grep Client /etc/ssh/sshd_config
ClientAliveInterval 0
ClientAliveCountMax 3
Meaning no keep alive is sent on the SSH channel (different from TCP keep alive).
I'm tweaking/studying those affects as I type, any other hints?
I've just tried the MATLAB mode for jEdit, and I can't get the auto-indent to work properly. I think it's because some of the XML is out of date and no longer supported: I don't think 'indentPrevLine' is a valid property any longer. I think that the correct property to use would be 'indentNextLines' for MATLAB, since there are no curly braces around code blocks, only an if, while, else, etc, followed by an 'end'.
My question is: how do I decrease the indent when an 'end' statement is encountered?
I searched a bit but couldn't find the answer, so here goes:
Here is my situation. I have an old JRE 1.3 on my work computer and one of our programs will not work with anything newer than this (don't ask). Needless to say, I am not allowed to install any Java JRE (and I presume JDK/SDK either).
However, I copied my install folders of the newest JDK and JRE for 1.5.0_6 to my USB drive (path is E:\Java\jdk1.5.0_06) and I can run Netbeans, BlueJ and jGRASP just fine because those prompt you to browse for a JDK to use.
This is the problem I run into: I want to use Jedit, not just as an editor but with the compiler functionality, and I wold prefer running it from my USB Java 1.5 JRE rather than the antiquated 1.3 on my desktop machine. Can I do this? I know how to set the path but I do not want to interfere with the functionality of that work program. Is there a batch file I can use to start it that will invoke it to start in the E:\Java\jdk1.5.0_06\bin or E:\Java\jre1.5.0_06\bin folders instead of the system path that directs to JRE 1.3?