jEdit Community - Resources for users of the jEdit Text Editor
Archives
Using the send buffer plugin
Submitted by smoothdave on Thursday, 13 October, 2005 - 02:14
I could use some help with the send buffer plugin. Whenever I try to use it, it tells me I have an invalid from address. I'm not sure what the problem could be. I just put a straightforward email address in there.

I would appreciate any help at all.

Dave
Need macro/plugin to trim trailing spaces on save
Submitted by neo_in_matrix on Thursday, 13 October, 2005 - 02:17
Is there any way to let jEdit trim trailing spaces on save?
Code Browser plugin, function prototypes and function definitions
Submitted by inad on Thursday, 13 October, 2005 - 15:21
Hi there,

When using the Code Browser plugin with C files I find the following annoying quirk. When a file contains both a function prototype and a function definition for the same function, clicking on the function name in Code Browser will sometimes bring you to the prototype instead of the definition. I noticed the determining factor seems to be whether the prototype spans across several lines or not. If it fits into a single line, Code Browser will bring you to the defintion, otherwise it will point you to the prototype.

Typically I am interested in the function definition (for the prototype I can use Code Browser's tool tip for example).

I had a look at the man page for ctags to see if one could force it not to generate tags for prototypes but I couldn't see a way to do it.

Has anybody come across this issue and has a solution for it ?

Thanks
Save all current open file list
Submitted by ccapeng on Thursday, 13 October, 2005 - 20:23
I am working on multiple files, but I want to move to other files and come back later on. Can I save current open file list?
FTP with Project Manager (first time poster)
Submitted by Nicodemas on Thursday, 13 October, 2005 - 22:33
Hello! I am very new to jEdit, but I have to say - I'm a believer. I've spent a lot of time writing apps for the web, and I have never found any one editor that meets all my needs. But so far, jEdit is the leader. It has some really nice features.

Something I would like to see, however, is an integration between a Project Manager (like the plugin available) and an FTP client who's settings are stored with the project's (host, username, password, use base local directory, etc...)

>> the ability to select multiple files from the Project Viewer and upload them, or download them from remote server

>> Use Base Local Directory - if the local file is on a subdirectory of the base local directory, it will be uploaded to the corresponding subdirectory of the remote server


I don't know how many times I've uploaded something using an FTP client into the wrong sub directory... Sad



Is there already a plug in for this? I might sound quite demanding, and in truth, my hat goes off to any developer who builds these very useful plugins. My talents are in web applications, only. I have no idea how to create plugins. Without dedicated folk like you, I'd probably still be using notepad and CuteFTP.
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
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   108250
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309