jEdit Community - Resources for users of the jEdit Text Editor
Archives
Redefining Control+R and Control+E
Submitted by Anonymous on Friday, 14 January, 2005 - 19:30
Is there anyway to redefine these shortcut keys? It won't let me in the global options > shortcuts menu.

Thanks
java.home problem
Submitted by di97mnu on Saturday, 15 January, 2005 - 23:39
Hi!
I have a problem. When i choose som "sub option" fron JCompiler plugin options I'll resive an error message that says something like: Cannot start jcompiler.JCompilerPlugins$ToolsJarNotFoundException
.
.
.
Your java.home is C:\Program Files\Java\jre1.5.0
.

why is my java.home referd to jre1.5.0 and not to my j2se install dir?

//Marcus
Minimize of last buffer close plugin
Submitted by Anonymous on Monday, 17 January, 2005 - 10:16
I used to like the feature of Programmer's File Editor whereby it would minimize when the last file was closed, so I quickly knocked up a plugin to do this in jEdit. I don't think it deserves a plugin of its own in the repository, but if someone wants to add it to a general purpose plugin, feel free. The support files are as basic as they can get, so I'll not include them here. The source is:
/*
 * MinOnClosePlugin.java
 * Copyright (C) 2005 Matt Plumtree
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

import org.gjt.sp.jedit.jEdit;
import org.gjt.sp.jedit.View;
import org.gjt.sp.jedit.EBMessage;
import org.gjt.sp.jedit.EBPlugin;
import org.gjt.sp.jedit.msg.BufferUpdate;
import java.awt.Frame;

/**
 * The MinOnClose plugin
 *
 * @author Matt Plumtree
 */
public class MinOnClosePlugin extends EBPlugin
{
	public void handleMessage(EBMessage message)
	{
		if (message instanceof BufferUpdate)
		{
			BufferUpdate bu = (BufferUpdate)message;

			if (bu.getWhat() == BufferUpdate.CLOSED)
			{
				View v = bu.getView();

				if (v != null && jEdit.getBufferCount() == 0)
				{
					// Minimize when last buffer closed.
					v.setExtendedState(Frame.ICONIFIED);
				}
			}
		}
	}
}
Organization against religious persecution http://www.har-tzion.com
Submitted by Billy Grand on Tuesday, 18 January, 2005 - 00:15
Organization against religious persecution http://www.har-tzion.com
jEdit GUI suddenly dis-proportional?!
Submitted by Anonymous on Tuesday, 18 January, 2005 - 14:13
All of a sudden the jEdit GUI under linux looks broken - fonts does not fit their boxes (some lists are undreadable because fonts are too big, others have too much space around them).

What can have happened? I don't remember doing anyting special except maybe messing around a bit with XF86Config ?
Mail quote
Submitted by weberjn on Tuesday, 18 January, 2005 - 15:19
It were nice to have text quote and unquote on selections:

example
Edit->Text->Quote
> example
Edit->Text->Unquote
example

Unquote is especially useful to restore a several times quoted mail text:

>>>> Please restore
>>>> this

Please restore
this


Thx,
Juergen
Auto folding?
Submitted by Anonymous on Wednesday, 19 January, 2005 - 03:50
Is there a way to get jEdit to automatically completely fold all files when they are loaded?

Thanks
Anyway to start another JEdit process
Submitted by interman on Thursday, 20 January, 2005 - 02:44
Hi, anyone know the way that I can start another Jedit process. If I do new view or run jedit in console, it will basically start another view, not seperate process. Any way I can start a seperate process for Jedit. I want to sepearte process because I handles two projects at the same time and I don't want all source code in two projects load up to one Jedit. It hard for me to find the file in each project
Perl Compatible Regular Expressions?
Submitted by Anonymous on Thursday, 20 January, 2005 - 13:11
Hi,

any chance to get Perl Compatible Regular Expressions in one of the next versions?
http://www.pcre.org/

Thanks.
SelectToMatchingTag.bsh (selectToMatchingTag.bsh v0.2 by Saimon Moore)
Submitted by saimonm on Thursday, 20 January, 2005 - 16:07
Selects all text between the current tag and the matching tag. (This requires the XML plugin.)
In fact code is slightly modified from the xml plugin action xml.XmlActions.matchTag.
So this could just be added to the xml plugin itself.
SideKick 0.3.2 bug
Submitted by Anonymous on Thursday, 20 January, 2005 - 16:51
I have this plugin set to "After keystroke wait" 1 sec.
Problem is, when I am editing line longer than screen size. When I am at the end of line, stop writing for 1 sec., it always move screen wiev to the begining of line. It is very annoying Sad((
right-to-left paragraph direction
Submitted by Anonymous on Thursday, 20 January, 2005 - 17:36
The possibility of changing paragraph direction from left-to-right to right-to-left will be a welcome addition for those of us who use jEdit for editing right-to-left languages like Hebrew and Arabic.
Hebrew vowel signs
Submitted by Anonymous on Thursday, 20 January, 2005 - 17:39
When Hebrew vowel signs are typed, extra spaces are inserted unnecessarily.
Error Using Console Plugin
Submitted by derb58 on Thursday, 20 January, 2005 - 21:59
I am new to this so please forgive me.
I am using Windows 2000 and Fedora Core 3 Linux with Jedit. In Linux I have no problems but in WIndows I have a problem with the console plugin.
I can compile the java file through the console plugin no problem but when i try to run the buffer I get this error in red.

java.lang.UnsupportedClassVersionError: HelloWorld (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" Process java exited with code 1

Now if I run the class from an external command window in Win 2000 it runs fine. I am assuming I have a setting wrong or my Paths are set wrong. Can anyone help me with this. As I said I can do it all normally in Linux. Thanks for your help.
John V
Auto "un-indent" (for keywords)
Submitted by Anonymous on Friday, 21 January, 2005 - 01:49
See http://community.jedit.org/?q=node/view/1935

I'd like an automatic "un-indent" next lines feature based on keywords. (Like UltraEdit has)
e.g typing "ENDIF" will cause that line, and subsequent lines to be un-indented.
This will be handy for several programming languages that don't use C-like structures using brackets, instead just using keywords to enclose IF, FOR etc. statements.
using modes-xml in an other project
Submitted by Anonymous on Friday, 21 January, 2005 - 09:09
We develop an other java editor. Now we are using the mode-Files of jedit.
Is this ok for you?
Our Project is also under the GPL Eye-wink
CU

Christian Hennig
University of Rostock
How to "auto-detect" files saved in UTF-8?
Submitted by Anonymous on Friday, 21 January, 2005 - 11:24
Hi there!

I'm using JEdit to edit some files (mainly PHP and Python scripts) that needs to be encoded in UTF-8.
Even if I set the "auto detect" option "on" in open panel, JEdit always opens the files using the standard Cp1252 encoding instead of the UTF-8 one... does anybody know how to resolve this problem?
Thanks! Smiling

Kind regards,
Matteo
My jEdit Screenshot
Submitted by Anonymous on Friday, 21 January, 2005 - 13:48
I'd like to share my jEdit screenshot with custom icons with you guys Smiling

http://tinypic.com/1euhhy
Open selected file with external editor
Submitted by Anonymous on Friday, 21 January, 2005 - 21:43
How to open files selected in the File System Browser with an external editor (the default viewer)? (e.g. open ".mp3" with Winamp)
source formatting plugin for PHP
Submitted by Anonymous on Friday, 21 January, 2005 - 21:59
PHP is all over the place now... I use jEdit for all my php development even though there are PHP specific IDE's, nothin can beat jEdit. My one problem with it however is that there are no plugins to format PHP code. This would make my day.
User login
Browse archives
« January 2005 »
MoTuWeThFrSaSu
 
2
15
16
 
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   108249
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