Problem typing '>' character
Submitted by
hall_simon on
Wednesday, 25 January, 2006 - 01:35
I'm using 4.3pre 3 on xp with jre 1.5.0_06-b05.
Everytime I type the '>' character (which in XML is quite a bit!!) a BeanShell error dialog pops up with the following error. Anybody know whats going on here?
java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.JEditTextArea.getBuffer()Lorg/gjt/sp/jedit/Buffer;
at xml.XmlPlugin.isDelegated(Unknown Source)
at xml.XmlActions.insertClosingTagKeyTyped(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: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:507)
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.gui.InputHandler.invokeAction(InputHandler.java:195)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:362)
at org.gjt.sp.jedit.View.processKeyEvent(View.java:616)
at org.gjt.sp.jedit.textarea.JEditTextArea.processKeyEvent(JEditTextArea.java:4579)
at java.awt.Component.processEvent(Component.java:5265)
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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
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)
Inhibit the save function
Submitted by
adicam69 on
Wednesday, 25 January, 2006 - 09:26
Hi, I need to inhibit the save function if the buffer is "read-only".
How can I do this ?
Alex.
Compiling and running a program.
Alright, I've searched the forums and this question has been asked before, but the answerd givin did not help me.
I can compile a Java program with ANT Farm, but I can not run the program. This is just one single java file that I am trying to run. I've tried hitting the running man icon, but it gave me an error even though I had no bugs when I compiled the file.
Please help
PS I would really enjoy if someone put all the steps needed to run a program starting right after writing a program.
PHP Docblocks handle HTML and code poorly
Submitted by
headzoo on
Wednesday, 25 January, 2006 - 17:20
Howdy,
I'm not sure if this is a bug or if it's something that can be fixed in the php.xml file. I use Docblock comments in my code, and because I use PhpDocumentor to create the documentation for the scripts, I use bits of HTML and example PHP code in the docblock. JEdit seems to choke on those. An example:
/**
* Just some function
*
* Usage:
*
* $a = justSomeFunction();
*
*/
JEdit tries to treat the HTML and code like regular HTML and code instead of treating it like plain text, which it should since it's inside a comment block.
Is there a file somewhere I can hack to fix this?
- Sean
How do I make jEdit respect system defaults for scrollwheel? Or just change the behaviour?
Submitted by
Denyer on
Wednesday, 25 January, 2006 - 18:25
Holding down shift to scroll a page isn't intuitive when no other app does it. Is there any way to either force jEdit to scroll a page by default, or reverse the modifier -- i.e. to hold down shift for a three-line scroll, whilst making jEdit respect the default.
Scrolling works fine in all other windows in jEdit, it's just the editor one that's causing a problem.
Thanks in advance for any suggestions, even if it's only "look in the source code and switch these lines around". It's equally likely I've missed something really obvious in an options window or not found a config file.
Regards,
Stu.
How to change plugins properties during the installation?
Submitted by
Siver on
Thursday, 26 January, 2006 - 15:27
Hi,
I'm working on installation CD with jedit and I would like to install all the plugins with jedit properly. This requires to set some plugins configuration.
Is there a regular way how to do it?
As I understand it's not easy to change plugin *.prop property in *.jar archive during the installation (for exampe, a path for ctags for Code Browser plugin) (perhaps to patch java sources of the plugin looks better...).
Thanks in advance,
Andrey
Increase/decrease quote level
Submitted by
amwt on
Thursday, 26 January, 2006 - 19:20
Increase/decrease qutoe level, as per bbedit. Effectively allows one to strip ">" from the leftmost column of, say, email messages.
Docker Plugin 0.3 - Options Not Available
Submitted by
andrewl on
Thursday, 26 January, 2006 - 22:06
Options for the Docker plugin (version 0.3) are not showing up in the Plugin Options window. The plugin itself is getting loaded, as it is showing up in the Shortcuts Options window (you can set a shortcut for Bottom Dock Popup, Left Dock Popup, Right Dock Popup, Toggle Docks, Top Dock Popup). But the option to over-ride autohiding for certain plugins, for instance, is nowhere to be found. The Plugin Options window shows ...Column Ruler, Console, Editor Scheme, etc. No Docker.
This is jEdit 4.2 Final on Windows XP. Unfortunately, I don't know what changes might have caused this, as I haven't looked for the Docker plugin's options for about six months, during which time I have certainly installed, and uninstalled, other plugins. The latest change is the addition of the Ruby plugin. Removing it and the jruby.jar and restarting does not fix the problem.
delete column
Submitted by
amwt on
Friday, 27 January, 2006 - 08:28
How do I delete the leftmost column, 1 character wide, from selected lines? I often need to strip ">" quote marks from messages forwarded to me. In bbedit, I use "decrease quote level". Thanks.
Considering jEdit instead of Arachnophilia - FTP Uploader
I've been using Arachnophilia for years as my primary IDE for web development. I love the way it's toolbars, macros, and menus are totally configurable.
However, I'm developing a tag/function completion tool that will work in any text editor, so I don't need my custom-built Arachnophilia menus and toolbars as much any more. And I'm wondering if there's another editor out there that will serve me better.
Is there any kind of site upload tool/plugin for jEdit? Something that will detect all changed files in a directory structure and upload them to the correct location on the site.
JavaDebugger not working
Whenever I try to load JavaDebugger (v1.4) it keeps on coming up with an error saying that I need to install JDK 1.3 or later but I have JDK 1.5 on my computer and I thought I had set the JavaDebugger up correctly so does anyone have any idea what might be going wrong? I have tried deleting and reinstalling both the Javacore and JavaDebugger plugins with no success.
Thanks
Steve
Using DTD and Schema in the same XML document
Submitted by
josephhill on
Monday, 30 January, 2006 - 03:10
I'm using Schema for my XML elements and DTD entities for a number of international characters and words. The problem is that jEdit can only validate if I use one or the other and detects hundreds of errors if I use both, making me turn validation off so I can get it at least to check for well-formedness. The strange thing is that XML Insert continues to suggest the correct elements (but not entities--it can only work from either the Schema or the DTD but not both). In other words, the validator sees the DTD and XML Insert sees the Schema. Is there a way to get jEdit to use both the DTD and the Schema? This is the only thing keeping me from using jEdit as my principal XML editor. Thanks!
Ctrl-Arrow stop on underscore
Submitted by
MasTRE on
Monday, 30 January, 2006 - 03:16
Is there a way to make jEdit stop on underscores (_) when one uses Ctrl-Arrow (left or right)?
Error Downloading Plugins
Whenever I attempt to download a new plugin, jEdit displays the following error message:
an i/o error occurred(no route to host: connect)
Before posting here, I tried to search for similar problems in the forum. The only message I found included a suggestion to configure jEdit to use a proxy, if the user was using a proxy. But I am not, so I am hoping someone has some other advice.
I can see the list of plugins, so it seems to me that I am able to connect to some list on a server somewhere. The progress bar runs to approx 50% and then displays the error message.
Thanks in advance.
Unicode weirdness on windows?
Submitted by
ferrix on
Monday, 30 January, 2006 - 06:16
This may be a setting I need to find, but could anyone enlighten me? I can open a unicode file on Windows (little-endian, saved as an export from regedit.exe). When I save the file it seems to shift it to big-endian. This makes it incompatible with regedit for importing purposes.
Is there any way I can get jEdit to keep the endian-ness or at least tell it which way I prefer the file to be saved?
I'm using 4.2final.
Thanks in advance for any assistance!
Greg
$ character unavailable
Submitted by
mole on
Monday, 30 January, 2006 - 09:57
I'm using 4.3pre 3 (4.3pre 2 has the same behavior, none other tested) on SUSE10.0. While typing in system, all is OK. In JEDIT I can't write character $.
Trying to define new keyboard shortcut nothing appears after typing AltGr + key.
Have Czech keyboard, where needed key is neat key L; so keys are from left to right:
JKL$
This is JKL; on us keyboard (all letters are capitalized - to prevent confusion letter l and number 1)
On czech keyboard us key ; is mapped onto UNICODE 01F6 - LATIN SMALL LETTER U WITH RING ABOVE ( http://www.unicode.org/charts/PDF/U0100.pdf )
It seems, that only this key is eated by JEDIT ???????????
Thanks Mike
Option to store temp-files in a specific folder?
Submitted by
DJ Hix on
Monday, 30 January, 2006 - 10:17
Hello!
I searched in the forum and looked through the options of jEdit, but i couldn't find an option in jEdit to select a path where it stores it's [filename]~-tempfiles.
Did i just missed the option or should i post this in the feature-requests forum?
DJ Hix
Go To Line
Submitted by
uh on
Monday, 30 January, 2006 - 11:16
I am looking for a "goToLine"-function, which does not open the "Go To Line"-Dialog. Is such a function available?
Highlighter-plugin is always enabled at startup
Hi all,
I want the highlighter-plugin to be disabled after jEdit's startup because it slow's down jEdit.
Unfortunately the plugin doesn't remembers it's On/Off-status. That's why I took the following macro in the startup directory to disable highlighter:
gatchan.highlight.HighlightPlugin.disableHighlights();
Log.log(Log.MESSAGE,scriptPath,"Startup_2.bsh: Highlighter disabled");
The macro seems to do it's work at startup (no error, a message in activity.log), but when jEdit is started completely, the highlighter is enabled!
What to do?
Robert
OS X 10.4 + Java5 + jEdit with proper menus
Submitted by
squindler on
Monday, 30 January, 2006 - 23:19
Apologies is this has been answered elsewhere - googling and searching this site I'm yet to find a solution.
Is it possible to get jEdit to have its menus in the OS X menu bar in OS X 10.4 using Java5 with the universtal installer of jEdit - ie so I can run pre builds etc ... I've tried using the jEdit.app launcher from 4.2 final, also tried the jEditMenuFixer.app.
Anyone been able to get this to work?