jEdit Community - Resources for users of the jEdit Text Editor
phpparser and interface as member variable
Submitted by fenor on Tuesday, 11 December, 2012 - 14:22
Hi,

If I have the following code, the phpparser marks the ->interface-> part as error and it is not parsed in the sidekick.

class CClass
{
public $interface;

function func1()
{
$this->interface->otherfunc();
}
}
phpparser and interface as member variable
Submitted by fenor on Tuesday, 11 December, 2012 - 11:34
Hi,

If I have the following code, the phpparser marks the ->interface-> part as error and it is not parsed in the sidekick.

class CClass
{
public $interface;

function func1()
{
$this->interface->otherfunc();
}
}
Error_Message_Doesn't_Fit_To_Screen
Submitted by sanjeevpc on Tuesday, 8 May, 2012 - 15:08
If multiple files with different files format is opened then an error message appears that does not fit to screen.

Expected Results: The list of error message should be able to fit on screen so that user can click on OK button.

Test Enviroment: OS: Windows 7, 64-bit
Filename_Appeared_After_Printing
Submitted by sanjeevpc on Tuesday, 8 May, 2012 - 14:32
When a file is printed, the filename also appears at the top of the page.

Expected Result: Application should be able to send the print command which should print only the contents of a file

Test Enviroment: Windows 7, 64-bit
Error_Message_When_Large_File_Handeling
Submitted by sanjeevpc on Tuesday, 8 May, 2012 - 14:19
When large input data are entered in a new file, the heap gets out space and displays an beanshellerror message which is not user friendly message. Also in the the beanshellerror message the text is typable.

Expected Results:
Appropriate user friendly error message should be appeared and in the error message text should not be typable.

Test Enviroment: OS: Windows 7, 64-bit
Submitting a bug report does not work
Submitted by rovf on Thursday, 1 March, 2012 - 14:05
I tried to submit a bug report today. I went to the bug tracker (http://sourceforge.net/tracker/?group_id=588), logged in, created the new Artifact, and submitted it. After this, I was redirected to the overview page (where I can see a list of the most recent bugs). My bug report was NOT there, and I was logged out!!

What is then the correct way to report a bug? I can't do it here in the Bug Reports forum, because I need to include a screenshot.
Search and replace in all buffers
Submitted by Hans_Bauer on Friday, 10 June, 2011 - 07:50
When having several *.prn-files/buffers (containing text only) open within one instance of jEdit and trying to search and replace e.g. "," by "." in all buffers i get the error

"The specified search file set contains no files. Please ensure that the file name filter and directory to search (if applicable) are set correctly"

The error occurs with jEdit 4.4pre1 under Win7x64
Session plugin - saving problem ftp user
Submitted by ottar on Wednesday, 6 April, 2011 - 09:52
There's an error when saving a session with files that are opened from a ftp-server and where you need to use domain name and user name to log on to the ftp-server.
An example:
I open file ftp://domainname\user@host.com:21/file.txt
Session saves this: ftp://domainname/user@host.com:21/file.txt
jEdit tryes to open: ftp://domainname:21/user@host.com:21/file.txt

If session had saved ftp://domainname\user@host.com:21/file.txt, it wouldn't be a problem.
Has anyone gotten Clearcase plugin to work with Jedit 4.3.2?
Submitted by stantonio on Tuesday, 8 February, 2011 - 20:37
Has anyone gotten Clearcase plugin to work with Jedit 4.3.2?
I was using this plugin fine with 4.2 and now it doesn't seem to work and get error at startup.
The error is :
Cannot start: java.lang.NoSuchMethodError: console.Shell.registerShell(Lconsole/Shell;)V
9:12:23 AM [main] [error] ErrorListDialog$ErrorEntry: Try updating to a newer version of the plugin.
Marker Drift
Submitted by Kineas on Thursday, 6 January, 2011 - 13:58
Hi,

in the new (4.3.2) version of Jedit the markers no longer stick to their line "anchor". When you place a marker and save the file, the position is saved into the .marks file. If you press ENTER above the marked line it scrolls down, after a save the bookmark positions are updated in the .marks file.

But after restarting jedit the .marks file is no longer maintained, and the markers slowly drift away. Is this a known issue?

regards,
Kineas
Duplicate Buffers after jumping to search result
Submitted by imgod2u on Sunday, 14 November, 2010 - 00:22
I've noticed this happen a few times now both on Solaris and on Windows. When searching a relatively large file (3000 lines or so), if I jump to a result (especially through Hypersearch), there would be duplicated buffers in BufferTabs. Now, I originally thought this was just a bug in the plugin but I noticed that when I edit one, the other buffer would not update. It would also pop up the notification that the file had been changed on disk.

This leads me to believe jEdit opened duplicate buffers of the same file after jumping to the search result line. I'm running 4.3 final using java 1.4.2 but on Windows, I've noticed it happen with the latest JRE and 4.3 final.

Has anyone else run into this problem? Any possible solutions?
PHPParser doesn't parse preg_replace
Submitted by premislaus on Wednesday, 7 April, 2010 - 11:01
code like this:

$addr2 = preg_replace("/(\d+.*$)/is", "", $addr2);

and parser says: Unexpected token: '$'

regards
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
User login
Browse archives
« May 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
31
 
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   83281
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