jEdit Community - Resources for users of the jEdit Text Editor
Archives
PHPParser 1.2.0 glitch (interfaces?)
Submitted by Austin_Hastings on Friday, 14 October, 2005 - 13:36
Got the following. I think the first section of [error] reportage may be irrelevant, but the second section reflects a glitch that hit as I was creating an interface.

I had

interface Name {
}

and was filling in function signatures when it hit. Aout the tenth or eleventh function, it highlighted "public" as wrong and reported an internal error when I hovered the mouse to read what was wrong.




Activity log entries that might be useful in a bug report:

Log file created on Fri Oct 14 05:46:41 EDT 2005
IMPORTANT:
Because updating this file after every log message would kill
performance, it will be *incomplete* unless you invoke the
Utilities->Troubleshooting->Update Activity Log on Disk command!
[message] Log: When reporting bugs, please include the following information:
[message] Log: java.version=1.5.0_02
[message] Log: java.vm.version=1.5.0_02-b09
[message] Log: java.runtime.version=1.5.0_02-b09
[notice] jEdit: jEdit version 4.2final
[message] jEdit: Settings directory is C:\Documents and Settings\Austin Hastings\.jedit
[message] jEdit: jEdit home directory is C:\Program Files\jEdit
[notice] jEdit: Loading plugins from C:\Program Files\jEdit\jars
[notice] jEdit: Loading plugins from C:\Documents and Settings\Austin Hastings\.jedit\jars
[message] jEdit: Loading mode catalog file C:\Program Files\jEdit\modes\catalog
[message] jEdit: Loading mode catalog file C:\Documents and Settings\Austin Hastings\.jedit\modes\catalog
[message] jEdit: Startup complete
[error] WorkThread: Exception in work thread:
[error] WorkThread: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
[error] WorkThread: at org.gjt.sp.jedit.Buffer.getLineStartOffset(Buffer.java:907)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildNode(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildChildNodes(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildNode(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildChildNodes(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.parse(Unknown Source)
[error] WorkThread: at sidekick.SideKick$ParseRequest.run(SideKick.java:406)
[error] WorkThread: at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:194)
[error] WorkThread: at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:161)
[error] WorkThread: at org.gjt.sp.util.WorkThread.run(WorkThread.java:135)


[debug] WorkThread: Running in work thread: [id=811,run=sidekick.SideKick$ParseRequest@1f97846]
[error] PHPSideKickParser: gatchan.phpparser.parser.ParseException: Encountered "}" at line 58, column 1.
[error] PHPSideKickParser: Was expecting:
[error] PHPSideKickParser: "function" ...
[error] PHPSideKickParser:
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.generateParseException(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.jj_consume_token(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.interfaceMethodDeclaration(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.interfaceDeclaration(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.BlockStatement(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.Php(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.PhpBlock(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.phpFile(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.sidekick.PHPSideKickParser.parse(Unknown Source)
[error] PHPSideKickParser: at sidekick.SideKick$ParseRequest.run(SideKick.java:406)
[error] PHPSideKickParser: at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:194)
[error] PHPSideKickParser: at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:161)
[error] PHPSideKickParser: at org.gjt.sp.util.WorkThread.run(WorkThread.java:135)
[debug] SideKick$ParseAWTRequest: ParseAWTRequest
[debug] EditBus: ErrorSourceUpdate[source=null,what=ERROR_SOURCE_REMOVED,errorSource=errorlist.DefaultErrorSource[SideKick],error=null]
[debug] EditBus: ErrorSourceUpdate[source=null,what=ERROR_SOURCE_ADDED,errorSource=errorlist.DefaultErrorSource[SideKick],error=null]
[debug] SideKickParsedData: Setting parsed data of org.gjt.sp.jedit.View[active] to null
[debug] EditBus: SideKickUpdate[source=null]
[debug] WorkThread: Running in work thread: [id=813,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=AUTOSAVE,buffer=IRecordHierarchy.php (C:\www\localhost\php_trees\)]]
Code Browser and Python sources
Submitted by Pedro Ribeiro on Friday, 14 October, 2005 - 13:52
Hi everybody.
I am a big fan of jEdit and cant find any more complete editor for Python.
But I am using Code Browser/ctags and it is working BUT unfortunatelly the METHODS are not coming nested under their respective classes. This is indeed provided by ctags when I run it on console as codebrowser does as you can see below:
...canvas.py /^ def __init__(self, parent, id = -1):$/;" kind:member class:ColumnCanvas

Is there any way to workaround it? Change some conf file or xml in the jar?
It seems a pretty easy code to write how can we help do it? I am willing to do it if it is the case...


Thanks
jEdit Mel Sender v0.1 Bug?
Submitted by frogspasm on Friday, 14 October, 2005 - 22:38
nazz78

Thanks so much for this plugin/macro. I've been using it a lot in the last few months. I just found something that causes an error in Maya when using jEdit, but works just fine when I copy the line to Maya's script editor end execute it:

vector $newP = ($pSphrand + $endP + <<0,1,0>>);

It seems to choke on the last part: <<0,1,0>>;
When I remove that it works in jEdit just fine.
Thanks, ~Mike D.

Mac OX Plugin
Submitted by jbmoore on Saturday, 15 October, 2005 - 21:53
Greetings..

Just installed a JEdit on a fresh Mac OSX (Panther) and it came with the Mac OSX plugin.. I then did an install of nearly all of the plugins..

The Mac Plugin now fails so I removed it from the "installed" (it was red). I would like to reinstall it but I don't see it on the "Installs" list..

Suggestions..?

John..
Problem Installing jEdit from .jar file
Submitted by matazar42 on Sunday, 16 October, 2005 - 20:22
Ok, I've never installed anything from a .jar before so I probably forgot something stupid. I'm using RedHat 9 linux. I downloaded the .jar and ran it with this output:

[root@localhost zips]# java -jar ./jedit42install.jar
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: ..jedit42install.jar
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025d6b6: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025eb36: java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x402ad075: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
at 0x08048910: ?? (??:0)
at 0x42015704: __libc_start_main (/lib/tls/libc.so.6)
at 0x080486c1: ?? (??:0)



Any help is appreciated.

-Matthew
Mac OS style menubar not working
Submitted by noah on Monday, 17 October, 2005 - 21:26
Since I upgraded from Panther to Tiger, the option to "Enable Mac OS style menubar" (in the Plugin Options for the Mac OS Plugin) no longer works. Regardless of whether or not this option is selected, the jEdit menu appears at the top of the jEdit window, not in the OS X menubar at the top of the page.

Is there a setting I can edit manually that will fix this? Any other ideas?

Thanks,
Noah
display help
Submitted by leftyprogrammer on Tuesday, 18 October, 2005 - 00:16
Hi All,

I'm new to JEdit, and one thing i don't like is the vertical line whicn is in the center of the screen..(is it a divider). Is there a way to get rid off that line?
Thanks
AntHelper Plugin
Submitted by khng on Tuesday, 18 October, 2005 - 04:37
Currently I need to download that plugin
but the jedit always said that IO error

Does that plugin really exist on the server?
Run jEdit from Unix without X Windows
Submitted by n0e on Tuesday, 18 October, 2005 - 13:50
Hi all, Is it possible to run jEdit from pure Unix command line, just like vi or emacs, with no nececessary X windows supplied ? If I run jEdit from command line, it always appear error messages like these: ------------------------------------------------------------------------------------- shell$ jedit 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.(X11GraphicsEnvironment.java:134) [error] main: at java.lang.Class.forName0(Native Method) [error] main: at java.lang.Class.forName(Class.java:141) [error] main: at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) [error] main: at java.awt.Font.initializeFont(Font.java:308) [error] main: at java.awt.Font.(Font.java:344) [error] main: at org.gjt.sp.jedit.gui.SplashScreen.(SplashScreen.java:37) [error] main: at org.gjt.sp.jedit.GUIUtilities.showSplashScreen(GUIUtilities.java:1494) [error] main: at org.gjt.sp.jedit.jEdit.main(jEdit.java:300) shell$ ------------------------------------------------------------------------- cheers, ~Noe~
How to run an HTA file from jEdit?
Submitted by davmay on Wednesday, 19 October, 2005 - 04:25
I would like to be able to run my HTA file from the jEdit editor window. I assume this would require adding a new entry to the Run_Script.bsh macro. Can anybody help?

Thanks.
GUIEditor
Submitted by hithacker on Wednesday, 19 October, 2005 - 16:08
Hey guys, why we don't have GUIEditor Plugin in jEit?If any 1 intrested in developing GUIEditor Plugin for jEdit, please share your ideas.
Load/save of abbreviation sets?
Submitted by davmay on Saturday, 22 October, 2005 - 01:14
Is it currently possible to save or load whole sets of abbreviations for a particular mode? If not, this would be a useful feature, as it would allow users to share abbreviation sets and modify them rather than having to build their own from scratch.
Load/save of abbreviation sets?
Submitted by davmay on Saturday, 22 October, 2005 - 01:14
Is it currently possible to save or load whole sets of abbreviations for a particular mode? If not, this would be a useful feature, as it would allow users to share abbreviation sets and modify them rather than having to build their own from scratch.
Abbreviations don't work in embedded script
Submitted by davmay on Saturday, 22 October, 2005 - 02:50
I created an abbreviation for Javascript mode; it works fine in a *.js buffer, but I find that it doesn't work within a Javascript block embedded in an *.html or *.hta buffer. Shouldn't mode-specific abbreviations work correctly within a delegated mode just as syntax highlighting does?

Is there some way for the user to make this work, or is this an ability that jEdit does not have yet?

Workarounds:
1. Copy the javascript abbreviations to the html mode.
2. Create the abbreviations in the global mode instead.

Both these approaches, of course, negate the principle of configuring each mode independently.
jEdit developement future
Submitted by bwalle on Saturday, 22 October, 2005 - 11:33
Hello,

the last beta release is from March 2005, so I just want to ask if there are plans to create new beta releases of jEdit or what's the future of this great tool. Thanks.


Regards,
Bernhard
German Localization light (deutsch.props v4.4.2.1 by Robert Schwenn)
Submitted by Robert Schwenn on Sunday, 23 October, 2005 - 16:56
Most visible labels of jEdit's core and about 60 plugins should appear in German language, after this properties file is put into jEdit's "properties" directory (under jEdit_Home), and jEdit was restarted.

Supported plugins (and other details): see fileheader.

Changes in Version 4.4.2.1:
- Support for jEdit core 4.4.2.
- Update for recent versions of all supported plugins

CAUTION: Users of the SVNPlugin have to use the matching deutsch.props, otherwise some menu items are labeled wrong!

StatusBar: time of current buffer
Submitted by Robert Schwenn on Sunday, 23 October, 2005 - 17:42
It would good to see date and time of last save of the current buffer's file in the status bar.
BufferTabs
Submitted by Robert Schwenn on Sunday, 23 October, 2005 - 17:49
Please: add a popup menu item to "save as ..." the current buffer.
How turn off 'smart indent'?
Submitted by a992400 on Monday, 24 October, 2005 - 04:08
Is there a way to disable smart indenting? When I'm at end of a line of code that's indented, and I hit Enter, I'd like the edit cursor to simply go to column 0, and not below the beginning of the line of code.
Do "return 1;"?
Submitted by a992400 on Monday, 24 October, 2005 - 04:14
Is there any point to doing "return 1;" instead of "return;" at the end of a macro? Or even "return;" at all? I've seen that in a few of them, but haven't been doing it in mine.
User login
Browse archives
« October 2005 »
MoTuWeThFrSaSu
 
1
2
8
9
20
21
 
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   107463
Context Free Art (*.cfdg)   0.31   46069
BBEdit scheme   1.0   18604
JBuilder scheme   .001   18505
ColdFusion scheme   1.0   18039
R Edit Mode - extensive version   0.1   17486
Advanced HTML edit mode   1.0   16219
Matlab Edit Mode   1.0   16083
jEdit XP icons   1.0   15242
XP icons for jEdit   1.1   14306