Searching (or replacing) using simply: (.*) causes jEdit to crash (or at least run the CPU up to 100%). I suspect this is related to a previous bug I reported. The expected result would be to retrieve the whole line so that it can be replace in an expression. Perhaps jEdit should have a multi-line switch for regular expression searches?
First off, jEdit is the best text editor around, hands down. I've used it for several years now and it beats the pants off commercial editors. Anyway, on to my issue.
I just installed the 4.3pre7 on a new machine along with JDK 1.5.0_09, and jEdit's java process is using 50% of my proccessor (according to Task Manager). The problem does not occur with the stable 4.2 build. However, The syntax highlighting and many plugins are much better with the 4.3 version, so I'd rather not use 4.2. This issue does not occur on any of my other PC's.
The computer in question is running Win XP SP 2, on a Dell Dimension E520 w/ an Intel Core 2 Duo proccessor.
I've installed
JavaSide kick
Project Viewer
Ant Farm
running java 1.5
When i try and code complete in a class i get the following : error
java.lang.ArrayIndexOutOfBoundsException: -1:104
at org.gjt.sp.jedit.buffer.JEditBuffer.getText(JEditBuffer.java:520)
at sidekick.java.JavaCompletionFinder.getWordAtCursor(JavaCompletionFinder.java:90)
at sidekick.java.JavaCompletionFinder.complete(JavaCompletionFinder.java:51)
at sidekick.java.JavaParser.complete(JavaParser.java:637)
at sidekick.SideKickActions.complete(SideKickActions.java:101)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at bsh.Reflect.invokeMethod(Reflect.java:134)
at bsh.Reflect.invokeStaticMethod(Reflect.java:98)
at bsh.Name.invokeMethod(Name.java:874)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
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:362)
at bsh.BshMethod.invoke(BshMethod.java:258)
at bsh.BshMethod.invoke(BshMethod.java:186)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:509)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:440)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:406)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:373)
at org.gjt.sp.jedit.gui.InputHandler.processKeyEventKeyStrokeHandling(InputHandler.java:295)
at org.gjt.sp.jedit.gui.InputHandler.processKeyEvent(InputHandler.java:184)
at org.gjt.sp.jedit.textarea.TextArea.processKeyEvent(TextArea.java:4557)
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)
I've installed
JavaSide kick
Project Viewer
Ant Farm
running java 1.5
When i try and code complete in a class i get the following : error
java.lang.ArrayIndexOutOfBoundsException: -1:104
at org.gjt.sp.jedit.buffer.JEditBuffer.getText(JEditBuffer.java:520)
at sidekick.java.JavaCompletionFinder.getWordAtCursor(JavaCompletionFinder.java:90)
at sidekick.java.JavaCompletionFinder.complete(JavaCompletionFinder.java:51)
at sidekick.java.JavaParser.complete(JavaParser.java:637)
at sidekick.SideKickActions.complete(SideKickActions.java:101)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at bsh.Reflect.invokeMethod(Reflect.java:134)
at bsh.Reflect.invokeStaticMethod(Reflect.java:98)
at bsh.Name.invokeMethod(Name.java:874)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
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:362)
at bsh.BshMethod.invoke(BshMethod.java:258)
at bsh.BshMethod.invoke(BshMethod.java:186)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:509)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:440)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:406)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:373)
at org.gjt.sp.jedit.gui.InputHandler.processKeyEventKeyStrokeHandling(InputHandler.java:295)
at org.gjt.sp.jedit.gui.InputHandler.processKeyEvent(InputHandler.java:184)
at org.gjt.sp.jedit.textarea.TextArea.processKeyEvent(TextArea.java:4557)
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)
I just installed 4.3pre7 and tried to install the XML plugin. The plugin files seem to get downloaded, and then I get a sequence of error dialogs "An I/O error occurred (error in opening zip file)". I use JDK6 (build 102) on Ubuntu 6.06 (Dapper).
I tried blowing away ~/.jedit, and the result is still the same.
Before I try to send a bug report, I'd like to know a solution to my problem, or perhaps user in the same condition than me.
I had run jEdit 4.3pre5 to 4.3pre6 on jdk1.5_06 to jdk1.5_08*, and now the latest jEdit - 4.3p7 - on jdk1.5_08, all on WinXP Pro SP2.
(* 4.3p5 with jdk1.5_06, 4.3p6 with jdk1.5_06, and 4.3p6 with jdk1.5_08)
In all of this use of jEdit, I had that black screen that appeared a short time (enough to be noticable), and it seems to be worse in 4.3p7. The black screen appear for example when I go to help, or when a new window spawn (like popup menu, etc).
I'm running it on a GeForge 7900GTO+512Ram, testing to disable direct draw in Java, but no : that black screen is still there.
I also installed the jdk1.5_09, and will test with it.
Is that a real problem?
[Note : I tested that with a lot of plug in installed, Have to try it with only a short set of them]
Hey folks, I've isolated this issue to the XML plugin. I love the XML plugin, but when I have it on, after some amount of time, say 10 min., I notice my processor is chugging and I look at top - and there's java, at the top of the list, consuming like 95%+ cpu. I'm running Sun JDK 1.5 on linux.
My plugin, CtagsSideKick, registers itself as a SideKick parser (named 'ctags') for edit modes c, c++ and java using the lines below. If I open the "Parsers" page in the SideKick plugin options, I indeed see my plugin being used as the parser for these modes, and if I open files with extensions ".c", ".cpp" and ".java", I see that SideKick uses my plugin to generate the tree. However, when I open files with ".h" extension, no parser is selected, and the tree doesn't appear. I need to manually select 'ctags' in order to see the tree. Using the menu "Utilities -> Global Options -> Editing", I see that ".h" files are associated with the c++ mode. Yet my plugin is not used for ".h" files by default. Am I missing something, or is this a SideKick bug?
Following are the lines I use to register my plugin with SideKick:
sidekick.parser.ctags.label=ctags
mode.c.sidekick.parser=ctags
mode.c++.sidekick.parser=ctags
mode.java.sidekick.parser=ctags
the XML plugin Matching Tag Hilight is not working again with html files. (jEdit pre 7 and xml v2.0.4)
it was working in pre6. i think this has been going on for the last several versions (of jEdit-pre and xml version). there's some kind of pattern here...
work. don't work. work. don't work.
i'm just reporting bugs. i can wait till november.
Newbie to jEdit here. Love what I see so far, but can't help but notice that it runs unbearably slow compared to other text editors. I'm talking about something in the realm of a two-second pause after the down arrow is pressed before the cursor moves down a line.
Using Windows XP Professional. Yes, I tried rebooting.
I am having some trouble expanding the syntax highlighter within jedit. I have changed xmode .dtd , token.java to reflect adding 4 new tokens. However I believe that I am missing something somewhere as the syntax highlighter pane under global options is empty when I execute the new jar. Any help would be appreciated.
I'm using jEdit 4.2final on Windows XP Pro. I have been using it for awhile now and yesterday, 09/18/2006, I encountered this situation. I clicked on File/Open and the main window loses focus but I don't see the Open Dialog on either of my two monitors. When I bring up Task Manager all I see is the main jEdit app running. If I hit Escape the main window receives focus and I can click on all other menu items with no problem. If I open the Processes tab, all I see is the jEdit process running, nothing else related. If I try to stop jEdit I see this message:
"The system cannot end this program because it is waiting for a response from you"
It looks to me like the jEdit app thinks the Open Dialog window is loaded. I'm thinking the dialog has been opened behind the main app but I can't figure out how to make it appear.
I have no ideas on what the solution is for this problem. I've tried just about everything to resolve this all to no avail. I have even uninstalled jEdit 4.2 and reinstalled it and the same thing happens.
I would really appreciate it if anyone has encountered this and has a resolution would pass it on?
I have some XML files with DTD declarations like:
<!DOCTYPE foo SYSTEM "foo_1.dtd">
The DTD isn't in the same directory.
I thought I'd be able to add a catalog and point out the correct location of foo_1.dtd. However, jEdit still complains that it can't find the DTD in the same directory as the XML file.
My catalog:
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "oasis-catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<group prefer="public" xml:base="file:///C:/Documents and Settings/user/.jedit/xml_catalog">
<system systemId="foo_1.dtd" uri="BlkArch/foo_1.dtd"/>
</group>
</catalog>
According to this page: http://www.sagehill.net/docbookxsl/WriteCatalog.html
under "Relative SYSTEM identifiers may not work"
there is a general failure among Java based XML parsers that prevent them from using catalogs with relative system identifiers.
Is this page correct, or is there a way around this?
Hi, in jedit I see this:
{{{
㰿硭氠癥牳楯渽∱⸰∠敮捯摩湧㴢畴昭ㄶ∿㸼佲摥牌楳琠却潲敁捣潵湴乡浥㴢扬慨∾㱏牤敲畲牥湣礽≕卄∠楤㴢㑥摦㌵㑢㠲㐱㐳㘶慥敡㑣摤摤㕦扥攷∾㱔業放㈰〶ⴰ㤭ㄴ吱㠺㈵㨲㈮㠶㌰〰〭〵㨰〼⽔業放㱁摤牥獳䥮景⁴祰攽≢楬氢㸼乡浥㸼䙩牳琾呩湡㰯䙩牳琾㱌慳琾卩敲牡㰯䱡獴㸼䙵汬㹔楮愠卩敲牡㰯䙵汬㸼⽏牤敲䱩獴�
}}}
But in Windows, notepad I see this:
{{{
TinaSierraTina Sierra
}}}
Can someone help?
Can't I upload sample attachment?
I'm having trouble with the XML plugin. When I try to install it - manually or via the Plugin Manager, I get the same error:
C:\Documents and Settings\jpbroome\.jedit\jars\XML.jar:
Two copies installed. Please remove one of the two copies.
But there's not 2 copies installed. I searched my hard drive - there's only the one instance of XML.jar found. It's not listed in the "Plugins" menu in jEdit, and it's not listed in "Plugin Options..." in jEdit. So I quit jEdit, deleted XML.jar, and tried installing it fresh from the Plugin Manager again, and get the same error every time, no matter what I've tried.
Is it possible some other plugin I have installed is conflicting with XML.jar, or is there some bug or situation where this error message could be displayed?
Just in the past couple of days, every tim i launch jEdit, i get 2 instances starting. FWIW, normally, i'll launch jEdit from the panel, but i think this began when i invoked jEdit on a file from the CLI (which i'm sure i've done many times before, in any case). I'm stumped and have no idea where to even begin looking for the cause of this (well, here, i suppose). I haven't installed anything recently, and i've been using jEit for months now with no problems.
Both instances show the same files open.
Also, the "Untitled-1" file that normally shows up when jEdit is launched doesn't disappear once some other file is opened. I guess that's because the other instance has a copy open, as well.
Any ideas?
ps: the "Forum" select widget for the topic post form is b0rked in Firefox1.5/linux. It's about one charcter wide.
I'm trying to use jEdit on OS X and after I installed I opened it and I couldn't see any text on the splash screen. I don't know if I can post a picture, but here's a link:
http://student.santarosa.edu/~plinkous/jedit.jpg
My software is all up to date, so I should have to proper Java software.
I have a problem to install jedit:
After running sudo apt-get upgrade I am getting the following error:
ubuntu@ahome:/$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
E: The package jedit needs to be reinstalled, but I can't find an archive for it.
When trying to install new application I am getting the following errors:
sudo apt-get install gkrellm
Reading package lists... Done
Building dependency tree... Done
E: The package jedit needs to be reinstalled, but I can't find an archive for it.
wget -c http://optusnet.dl.sourceforge.net/sourceforge/jedit/jedit_4.3pre6_all.deb
--13:24:47-- http://optusnet.dl.sourceforge.net/sourceforge/jedit/jedit_4.3pre6_all.deb
=> `jedit_4.3pre6_all.deb'
Resolving optusnet.dl.sourceforge.net... 211.29.132.142
Connecting to optusnet.dl.sourceforge.net|211.29.132.142|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
The file is already fully retrieved; nothing to do.
dpkg: serious warning: files list file for package `jedit' missing, as suming package has no files currently installed.
76809 files and directories currently installed.)
Preparing to replace jedit 4:04.03.06.00 (using jedit_4.3pre6_all.deb) ...
Unpacking replacement jedit ...
dpkg: error processing jedit_4.3pre6_all.deb (--install):
unable to create `./usr/lib/menu/jedit': No such file or directory
dpkg (subprocess): unable to execute new post-removal script: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
jedit_4.3pre6_all.deb
I tried everything what I found on the net but no success