jEdit Community - Resources for users of the jEdit Text Editor
Problem with ProjectViewer 2.9.1 with old project file path
Submitted by Jabberwock on Wednesday, 13 January, 2010 - 06:18
HI,

I have a problem with the new version of ProjectViewer and jEdit 4.3.

All my project have been moved to a new location, that is OK.

But when a launch jEdit all my project files path are weird like ftp://\\totot//toto/toto, and i can ope properly the files.
I look the xml project files with the old version of project viewer and i see that the path is like ftp://toto/toto... and with the new id ftp:\\toto\toto

There is a solution to convert old format XML to new ?

Thanks a lot.
Sidekick not working
Submitted by powery on Tuesday, 29 December, 2009 - 12:59
Parsing using Sidekick or CtagsSideKick plugin is not possible with new version of jEdit:
jEdit 4.3 final
java 1.6.0_13
SideKick 0.8
CtagsSideKick 1.4

jEdit 4.3pre18 was ok

Same problem?
Recording Macros not recording all keys (4.3)
Submitted by yakumo9275 on Wednesday, 23 December, 2009 - 19:38
I upgraded to the new release of 4.3, doing a temporary macro it does not register END/HOME in the macro.

eg:

abcdef

press home, type 111 pres end type 222. screen shows "111abcdef222"

macro shows only

textArea.setSelectedText("111222");

I had to get around this by binding a key to go to end of line/start of line.

I did not test what other keystrokes it was ignoring.
perl highlight
Submitted by Andrey Zloy on Thursday, 12 November, 2009 - 15:44
jedit incorrect highlight this perl code
sub GetObjectByType {     my $self=shift;     my $type=shift;     my $name=shift;     my $search_href={type=>$type};     if ($name){       $search_href->{name}=$name;     }     my $attr_href={rows=>1,order_by=>\'version DESC'};     if (!($ENV{IS_ADMIN})){       $search_href->{synced}=1;       my $obj_version=$self->obj_version;       if (!($obj_version)){         $obj_version='0';       }       $search_href->{version}={'<=',$obj_version};     }     return [$self->objs->search($search_href,$attr_href)->all]->[0]; }
jedit doesn't work with root
Submitted by cerkauskas on Wednesday, 14 October, 2009 - 17:50
when i'm trying to start jedit with root, i getting error, but when starting with simple user it works! error here: [root@tomas tomas]# jedit No protocol specified [error] main: Exception in thread "main" [error] main: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. [error] main: at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) [error] main: at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52) [error] main: at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155) [error] main: at java.security.AccessController.doPrivileged(Native Method) [error] main: at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:131) [error] main: at java.lang.Class.forName0(Native Method) [error] main: at java.lang.Class.forName(Class.java:169) [error] main: at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68) [error] main: at javax.swing.RepaintManager.(RepaintManager.java:179) [error] main: at javax.swing.JComponent.repaint(JComponent.java:4734) [error] main: at java.awt.Component.repaint(Component.java:3081) [error] main: at javax.swing.JComponent.setBackground(JComponent.java:2705) [error] main: at org.gjt.sp.jedit.gui.SplashScreen.(SplashScreen.java:35) [error] main: at org.gjt.sp.jedit.GUIUtilities.showSplashScreen(GUIUtilities.java:1519) [error] main: at org.gjt.sp.jedit.jEdit.main(jEdit.java:299) can anybody help me? Arch Linux
TaskList -- bug using the Gtk+ L&F
Submitted by kog on Thursday, 10 September, 2009 - 03:55
The TaskList plugin (version 1.1.0) doesn't work when the Gtk+ Look and Feel is enabled; parsing the buffer, if there are any tasks embedded in it, causes the plugin to crash, and the activity log reveals a NullPointerException, but fails to locate it. TaskList works fine under Metal; it's only under Gtk+ that it crashes.
Complete Word doesn't work with a language where variables can contains dots
Submitted by marce on Thursday, 9 April, 2009 - 19:02
Hi there,

I'm using jEdit 4.3.pre16 with java 1.5.0.13.

My problem is the language I configure in jedit named Infobasic supports dots in variables, for example: Y.TOTAL.CREDITS is a variable name.

I have configured all the syntax highlight, some other compiling routines, etc. But when I configure the extra characters to consider a word there is a problem ( "_." -> this are the extra characters I define), when I press Ctrl+B to see the code completion, there is an error on jEdit, you can see the exception given:

02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: $ . (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: _\\.$ . (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: Z.RESULT (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [debug] CompleteWord: array completions [ ] (this is a debug message i put in CompleteWord.java)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: java.lang.StringIndexOutOfBoundsException: String index out of range: -8
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.lang.String.substring(String.java:1768)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.lang.String.substring(String.java:1735)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.CompleteWord.completeWord(CompleteWord.java:103)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.lang.reflect.Method.invoke(Method.java:585)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.Reflect.invokeStaticMethod(Reflect.java:98)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:871)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHBlock.evalBlock(BSHBlock.java:130)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BSHBlock.eval(BSHBlock.java:80)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BshMethod.invokeImpl(BshMethod.java:362)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:258)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.bsh.BshMethod.invoke(BshMethod.java:186)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.BeanShellFacade.runCachedBlock(BeanShellFacade.java:225)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:441)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:73)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:352)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:317)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:197)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.input.AbstractInputHandler.processKeyEventKeyStrokeHandling(AbstractInputHandler.java:405)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.gui.InputHandler.processKeyEvent(InputHandler.java:151)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at org.gjt.sp.jedit.textarea.TextArea.processKeyEvent(TextArea.java:4545)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.processEvent(Component.java:5294)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Container.processEvent(Container.java:1966)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEventImpl(Component.java:3984)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Container.dispatchEventImpl(Container.java:2024)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEvent(Component.java:3819)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1826)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:681)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:938)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:810)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:645)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEventImpl(Component.java:3857)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Container.dispatchEventImpl(Container.java:2024)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Window.dispatchEventImpl(Window.java:1791)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.Component.dispatchEvent(Component.java:3819)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
02:01:58 PM [AWT-EventQueue-0] [error] BeanShellAction: at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
02:02:00 PM [AWT-EventQueue-0] [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null]
JEdit 4.3 pre16 on Windows Vista SLOW scrolling
Submitted by bfredrickson on Friday, 13 March, 2009 - 17:09
There seems to be a 1 second delay between pressing page down and the screen responding.

Subsequent pgdn's don't appear to be cached, so scrolling via the keyboard happens very slowly.

This also happens using the scroll wheel on the mouse.

This also happens using the Vertical Scroll component on the side of the screen. This was not happening on the previous version of JEdit.

Is there a fix / patch, or a command-line switch that will fix this?

Hardware:
Windows Vista Business; 1GB RAM; Athalon 64 X2 4200+; NVIDIA GeForce 7300 GS video card

Thanks!

Blaine Fredrickson
PHP Projects Plugin in combination with (S)FTP
Submitted by DerKobe on Wednesday, 4 March, 2009 - 13:40
I discoverd a problem using PHP Projects with the FTP-Plugin. When I tried to remote scan a project the programm got stuck in an infinite loop (as you can see below). Any idea whats going wrong?

Thx, Kobe


13:23:49 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules to /Users/Admin/.jedit/cache/cache-431-1236169429442.tmp
13:23:49 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global to /Users/Admin/.jedit/cache/cache-432-1236169429698.tmp
13:23:50 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/.. to /Users/Admin/.jedit/cache/cache-433-1236169430941.tmp
13:23:51 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global to /Users/Admin/.jedit/cache/cache-434-1236169431193.tmp
13:23:52 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global/.. to /Users/Admin/.jedit/cache/cache-435-1236169432340.tmp
13:23:52 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global/../Global to /Users/Admin/.jedit/cache/cache-436-1236169432594.tmp
13:23:53 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global/../Global/.. to /Users/Admin/.jedit/cache/cache-437-1236169433760.tmp
13:23:54 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global/../Global/../Global to /Users/Admin/.jedit/cache/cache-438-1236169434015.tmp
13:23:55 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global/../Global/../Global/.. to /Users/Admin/.jedit/cache/cache-439-1236169435174.tmp
13:23:55 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global/../Global/../Global/../Global to /Users/Admin/.jedit/cache/cache-440-1236169435429.tmp
13:23:56 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global/../Global/../Global/../Global/.. to /Users/Admin/.jedit/cache/cache-441-1236169436590.tmp
13:23:56 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global/../Global/../Global/../Global/../Global to /Users/Admin/.jedit/cache/cache-442-1236169436839.tmp
13:23:58 [jEdit I/O #1] [debug] DirectoryCache: Cached sftp://admin@ourserver.com:22/var/www/lamda/modules/Global/../Global/../Global/../Global/../Global/../Global/.. to /Users/Admin/.jedit/cache/cache-443-1236169438009.tmp
etc.
Minor Bug and it's fix.
Submitted by drabrun on Friday, 19 December, 2008 - 01:51
I've used Jedit in several classes at the university i'm current attending.

I'm just submitting a bug and it's fix. Again I said minor, so no laughing when you realize how small it is. Thanks.

In the CharIndexedReader.java file in the gnu.regexp package at line 106.

change br.skip(index-1) to

long actualSkipped = br.skip(index-1);
long total = actualSkipped;
while(total < (index-1)){
actualSkipped = br.skip(index-1 - total);
total = total + actualSkipped;
}

this ensures the amount needed to be skipped actually gets skipped.
Some small bugs in current 4.3pre Versions
Submitted by tobi73de on Thursday, 11 December, 2008 - 21:35
Hi !

jEit is a really cool editor, i like it a lot. I use it for HTML, CSS and PHP editing.

It runs on an Athlon X2, WinXP Pro with 2 Monitors on ATI GFX-Card, newest Java Version.
Plugins: FTP, JDiff, Beauty, ErrorList, SideKick, XercesPlugin, XML.

I encountered some Problems with the last 4.3pre Versions.

1. Small Problem

With activated Option "Show Error Icons in the Gutter" (ErrorList-Plugin"):
Always when i move the mouse over the Gutter, a small black dot (2px x 2px) appears right beside or on the left side on the gutter (at mouse cursor position).

2. Small Problem

If i record a macro in a new untitled buffer, the the macrorecorder uses this untitled buffer as macro-scriptfile.
That results in an funny behaviour. For instance, if you type in 1 letter the macrorecorder writes a second into the macro scriptfile, which is actually the only open buffer.
So it dublicates every letter. I can also not save the file. I have to close jEdit.

3. Medium Problem

Sometimes after saving a buffer, the display of the code gets scrumbled.
Code from other locations in the file is partially displayed between the Code on the Display.
So I have to scroll up and down or switch the buffers to get the correct display back.

4. Bigger Problem

I use the standard bufferswitcher. Sometimes, with some open files, when i try to select an other buffer with the mouse, the buffer is not switched.
In the View is still the same Buffer. I can also not choose an other buffer.
I have to click the "Vertically Split" and "Unsplit All" Icons to get the right display back.

It's really randomly, i can not reproduce it, but sometimes it gets really annoying.

But probably i have tracked down the source of the Problem: Plugin SideKick, Option "Parse on buffer switch".
With disabled, the Bug doesn't appear.


5. Biggest problem of all Eye-wink

In the File Browser i use the Option "Use default icons" to have the original Windows Exlporer Icons. In the FTP-View it doesn't work, there are still the original build-in Icons.
They are not bad, but i'd rather like to have the default icons of Windows Explorer.



mfg Tobi
LaTeXTools broken in pre16
Submitted by TheBard on Thursday, 4 December, 2008 - 11:23
LaTeXTools 0.5.7 cannot load in Jedit 4.3pre16, Sun Java 1.6.0_10, Ubuntu 8.10 64-bit

java.lang.NoClassDefFoundError: gnu/regexp/REException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructors(Class.java:1459)
at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:603)
at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123)
at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114)
at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
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.Interpreter.eval(Interpreter.java:644)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:387)
at org.gjt.sp.jedit.ServiceManager$Descriptor.getInstance(ServiceManager.java:295)
at org.gjt.sp.jedit.ServiceManager.getService(ServiceManager.java:238)
at sidekick.SideKickPlugin.getParser(Unknown Source)
at sidekick.SideKickPlugin.setParserForBuffer(Unknown Source)
at sidekick.SideKickTree$ActionHandler.actionPerformed(Unknown Source)
at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567)
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:816)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6134)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicComboPopup.java:480)
at java.awt.Component.processEvent(Component.java:5899)
at java.awt.Container.processEvent(Container.java:2023)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at java.awt.Container.dispatchEventImpl(Container.java:2081)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
at java.awt.Container.dispatchEventImpl(Container.java:2067)
at java.awt.Window.dispatchEventImpl(Window.java:2458)
at java.awt.Component.dispatchEvent(Component.java:4331)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ClassNotFoundException: gnu.regexp.REException
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.gjt.sp.jedit.JARClassLoader.loadFromParent(JARClassLoader.java:469)
at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 46 more
jEdit doesn't like Compiz Fusion and desktop effects
Submitted by AzizLight on Monday, 1 December, 2008 - 01:48
Hi everybody,
I am using Ubuntu 8.10 and jEdit 4.3pre16. I realised that jEdit doesn't work well with Desktop Effects. I already had minor bugs with v4.3pre15 in Ubuntu 8.04 (windows went all white - by windows I mean popup windows, ie: when I try to change the syntax highlighting - that's not really minor...) but now it just got worse :S This screenshot will describe the situation very well:

http://tinyurl.com/6nuddz

As you can see the window maximized but the inside of it did not...

I tried to disable desktop effects and the problem was solved. Also I tried to re-enable the effects after having mazimized the window and it stayed maximized.
search and replace macro...
Submitted by Molamini on Thursday, 13 November, 2008 - 17:41
Hello, I have a search and replace macro problem. while searching, if the next text (e.g. WEB PAGES) is not in the display, a runtime exception occurs when searching for the next word. An example would be the text WEB PAGES being more than 50 lines down (I'm assuming 50 lines down is below the display of the screen) from the WEB PAGES text found. giving the following macro filename: test.bsh -------------------------- // This is a recorded macro. First, check over the // commands to make sure this is what you intended. Then, // save this buffer, and the macro should appear in the // Macros menu. SearchAndReplace.setSearchString("WEB PAGE"); SearchAndReplace.setAutoWrapAround(false); SearchAndReplace.setReverseSearch(false); SearchAndReplace.setIgnoreCase(false); SearchAndReplace.setRegexp(false); SearchAndReplace.setSearchFileSet(new CurrentBufferSet()); SearchAndReplace.find(view); SearchAndReplace.setSearchString("WEB PAGE"); SearchAndReplace.setReplaceString("<<>>"); SearchAndReplace.setBeanShellReplace(false); SearchAndReplace.setIgnoreCase(false); SearchAndReplace.setRegexp(false); SearchAndReplace.replace(view); SearchAndReplace.setSearchString("WEB PAGE"); SearchAndReplace.setAutoWrapAround(false); SearchAndReplace.setReverseSearch(false); SearchAndReplace.setIgnoreCase(false); SearchAndReplace.setRegexp(false); SearchAndReplace.setSearchFileSet(new CurrentBufferSet()); SearchAndReplace.find(view); SearchAndReplace.setSearchString("WEB PAGE"); SearchAndReplace.setReplaceString("<<>>"); SearchAndReplace.setBeanShellReplace(false); SearchAndReplace.setIgnoreCase(false); SearchAndReplace.setRegexp(false); SearchAndReplace.replace(view); SearchAndReplace.setSearchString("WEB PAGE"); SearchAndReplace.setAutoWrapAround(false); SearchAndReplace.setReverseSearch(false); SearchAndReplace.setIgnoreCase(false); SearchAndReplace.setRegexp(false); SearchAndReplace.setSearchFileSet(new CurrentBufferSet()); SearchAndReplace.find(view); ------------------------------------------- and given the file to search and replace filename: test.txt ------------------------------------------ WEB PAGE ...(about 60 lines down)... WEB PAGE ------------------------------------------------ I get the following runtime error... 9:29:38 AM [error] SearchAndReplace: java.lang.RuntimeException: Invalid screen line count: 10 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.DisplayManager.getScreenLineCount(DisplayManager.java:192) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.FirstLine.physDown(FirstLine.java:174) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.DisplayManager.setFirstPhysicalLine(DisplayManager.java:632) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.TextArea.setFirstPhysicalLine(TextArea.java:754) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.TextArea.scrollTo(TextArea.java:981) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.textarea.TextArea.scrollTo(TextArea.java:887) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.search.SearchAndReplace.find(SearchAndReplace.java:661) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.search.SearchAndReplace.find(SearchAndReplace.java:519) 9:29:38 AM [error] SearchAndReplace: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 9:29:38 AM [error] SearchAndReplace: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 9:29:38 AM [error] SearchAndReplace: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 9:29:38 AM [error] SearchAndReplace: at java.lang.reflect.Method.invoke(Method.java:597) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.bsh.Reflect.invokeMethod(Reflect.java:134) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.bsh.Reflect.invokeStaticMethod(Reflect.java:98) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:796) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:336) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:281) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:207) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros.java:1020) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.Macros$Macro.invoke(Macros.java:441) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:383) 9:29:38 AM [error] SearchAndReplace: at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:3000) -----------------------------------------------------
printing problem from jEdit under Linux
Submitted by fjse on Monday, 1 September, 2008 - 14:16
Dear community,
My problem is I can not print from jEdit (stable and dev version) under OpenSuse 11.0. I have tried with jdk6 and jdk7. Under Windows I have no problem.
Someone could help me?
Thank you in advance
F.J. Santa Eugenia
Line Height Correctioin
Submitted by _HI_ on Tuesday, 15 July, 2008 - 18:42
when I did install jedit with openjdk in fedora, "Anti Aliased" visibility of source code was more qualited and beauty than with j2se package, but there was another problem , fonts height is not enoutg ( such as Monospaced, Dejavu Sans Mono ) and sometimes underline simbols disappears and after appears.
for example "mysql_connect" functioin is shown as "mysql connect". is posible to add option such as netbeans 5.5.1 has "Line Height Correctioin" in "Editor Settings" Options, or can anyone fix this problem in jedit with alternative way?
Bug with Console plugin 4.3.7, jEdit 4.3pre14 for Windows, and the font White Rabbit
Submitted by KBKarma on Friday, 4 July, 2008 - 01:16
OK, hell of a combination, I know. But, here we go.

I recently (ie within the last few months) upgraded to pre14. As usual, Console was docked at the bottom of the screen. I had set the font to White Rabbit several months previously, and had no issues. I had been using pre9.

I had just finished writing some C, and wanted to run gcc (yes, on Windows). So, I brought up the Console.

I got the following image:


The same happened with the Beanshell drop-down. As a result of this, I couldn't do anything with Console.

Why, you ask? Because it wouldn't accept any input. I mashed keys for a few minutes when I realised this, but to no avail.

Today, I checked if there was an update to jEdit, then decided to bring this matter to the fore. In so doing, I checked the settings for Console. I changed the font, then opened it.

And it worked.

I have no idea if this is a Console bug, a pre14 bug, or a "feature" of the font itself. I'm assuming it's a pre14, but it could be a Console + pre14 bug, ie a Console bug that only occurs in pre14 (and yes, that could be considered a pre14 bug).

Any
Help Menu unusable on Mac OS (Java 1.5 and 1.6)
Submitted by theorik on Wednesday, 7 May, 2008 - 06:32
If I try to activate the jEdit's[1] Help Menu on Mac OS, I get a spinning beach ball, a high CPU load and after some ten or twenty seconds the help menu appears (and, if I moved the mouse, disappears immediately, of course). (Even if I removed .jedit before.) I tried on two computers, running Apple's latest 1.5 (1.5.013-b05-237) and 1.6 (1.6.0_05-b13-120), so I'm afraid this is a bug / incompatibility.

Thankful for any help,
theorik

[1] 4.pre14, but I observed this before – I just thought it was my configuration
JEdit with Mac OS Plugin fails to run on Mac OS 10.5, Java 6.0 (64-bit)
Submitted by theorik on Wednesday, 7 May, 2008 - 06:21
JEdit with Mac OS Plugin fails to run on Mac OS 10.5, Java 6.0 (64-bit). Sometimes silently, sometimes a window appears, but without content and unusable. Removing the MacOS Plugin helps.

> 08:18:07 [error] PluginJAR: Error while starting plugin macos.MacOSPlugin
> 08:18:07 [error] PluginJAR: java.lang.NoClassDefFoundError: com/apple/cocoa/application/NSMenu
> 08:18:07 [error] PluginJAR: at macos.MacOSPlugin.start(Unknown Source)
> 08:18:07 [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.startPlugin(PluginJAR.java:1360)
> 08:18:07 [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePlugin(PluginJAR.java:737)
> 08:18:07 [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePluginIfNecessary(PluginJAR.java:807)
> 08:18:07 [error] PluginJAR: at org.gjt.sp.jedit.jEdit.main(jEdit.java:460)
> 08:18:07 [error] PluginJAR: Caused by: java.lang.ClassNotFoundException: com.apple.cocoa.application.NSMenu
> 08:18:07 [error] PluginJAR: at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> 08:18:07 [error] PluginJAR: at java.security.AccessController.doPrivileged(Native Method)
> 08:18:07 [error] PluginJAR: at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> 08:18:07 [error] PluginJAR: at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
> 08:18:07 [error] PluginJAR: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
> 08:18:07 [error] PluginJAR: at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 08:18:07 [error] PluginJAR: at org.gjt.sp.jedit.JARClassLoader.loadFromParent(JARClassLoader.java:469)
> 08:18:07 [error] PluginJAR: at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:86)
> 08:18:07 [error] PluginJAR: at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 08:18:07 [error] PluginJAR: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
> 08:18:07 [error] PluginJAR: ... 5 more
> 08:18:07 [error] ErrorListDialog$ErrorEntry: /Applications/jEdit/jars/MacOS.jar:
> 08:18:07 [error] ErrorListDialog$ErrorEntry: Cannot start: java.lang.NoClassDefFoundError: com/apple/cocoa/application/NSMenu
> 08:18:07 [error] ErrorListDialog$ErrorEntry: Try updating to a newer version of the plugin.
>

Thankful for any advice,
theorik
P4Plugin fails to load in 4.3pre13
Submitted by psiegel on Tuesday, 8 April, 2008 - 12:40
Trying to load P4Plugin 0.2.4 in jEdit 4.3pre13 gives the following error:

Cannot start: java.lang.NoSuchMethodError: org.gjt.sp.jedit.jEdit.addMode(Lorg/gjt/sp/jedit/Mode;)V
Try updating to a newer version of the plugin.

I'm using the following versions of the dependent plugins:
CommonControls: 0.9.4
Console: 4.3.7
ErrorList: 1.7
ProjectViewer: 2.1.3.7

If this is not the correct place to report this bug, where should I report it? I tried emailing the address listed for the author (Marcelo Vanzin), but it bounced.
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   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