JEdit
jEdit is an in Java written Program Editor. jEdit has been created in 1999 by Slava Pestov. The software is available under GNU General Public License
jEdit's features include:
- Written in Java, runs on Mac OS X, OS/2, Unix, VMS and Windows.
- Built-in macro language; extensible plugin architecture. Dozens of macros and plugins available.
- Plugins can be downloaded and installed from within jEdit using the "plugin manager" feature.
- Auto indent, and syntax highlighting for more than 130 languages.
- Supports a large number of character encodings including UTF8 and Unicode.
- Folding for selectively hiding regions of text.
- Word wrap.
- Highly configurable and customizable.
- Every other feature, both basic and advanced, you would expect to find in a text editor. See the Features page for a full list.
Browser External Use
An external text editor can be used to edit text areas or text boxes in a browser. This makes editing of MediaWikis more easy. MozEx is an extension for Mozilla Firefox. To make jEdit available use DOS short names. For jEdit an example string is:
%JAVA_HOME%\bin\javaw.exe -mx128m -jar "C:\Program Files\jEdit 4.2\jedit.jar" -reuseview
or better use the settings
%JAVA_HOME%\bin\javaw.exe -mx128m -jar "C:\Program Files\jEdit 4.2\jedit.jar" -reuseview -settings=<jeSettings>
To make it work with MozEx in Mozilla use:
C:\PROGRA~1\Java\JDK15~1.0_0\bin\javaw.exe -mx128m -jar C:\PROGRA~1\JEDIT4~1.2\jedit.jar -reuseview %t
Do not forget to add a %t.
Cmd File
The following file is an example of a Window command file. Required are:
- Java installed on the system and javaw is accessible or better
- java_home and path set.
- jEdit installed on the system
- jeSettingsDirectory set by variable: jeSettingsDP
@Echo off :: ===================================================================== :: -- Starting jEdit within Windows using javaw -- :: -- Use this Command file to startup under Windows -- :: -- Use of the start option enables save usage of cmd -- :: -- Version 1.0.1.0 - Oct 2006 - Created -- HJMF -- :: -- 1.0.1.1 - Jan 2007 - Adjusted for IBM -- HJMF -- :: -- 1.0.1.2 - Jan 2007 - Added checks -- HJMF -- :: ===================================================================== :main pushd %~dp0 SetLocal Set APPL_VERS=1.0.1.2 Set APPL_DATE=16 Jan 2007 Set ERROR_OCC= :: ===================================================================== :: -- Settings for the application -- :: -- ~d0 = Drive of the command line [C:] -- :: -- usr\home for Unix Like Command Structure -- :: ===================================================================== Set jeSettingsDP=%~d0\usr\home Set jeSettings= "-settings=%jeSettingsDP%" :: ===================================================================== :: -- Path and Classpath -- :: ===================================================================== Set jeJarPath="%~d0\jEdit 4.2\jedit.jar" :: ===================================================================== :: -- Tests the given settings, path and classpath -- :: ===================================================================== :Test000 if exist %jeSettingsDP% goto :Test010 Echo =================================================== Echo -- Can not find the jedit settings dir and path -- Echo -- jeSettings= %jeSettings% Echo +++++++++++++++++++++++++++++++++++++++++++++++++++ Echo -- Program will abort... -- Echo =================================================== Set ERROR_OCC=1 Goto Lexit :Test010 if exist %jeJarPath% goto Run000 Echo =================================================== Echo -- Can not find the jedit jar startup file -- Echo -- jeJarPath= %jeJarPath% Echo +++++++++++++++++++++++++++++++++++++++++++++++++++ Echo -- Program will abort... -- Echo =================================================== Set ERROR_OCC=1 Goto Lexit :Run000 Start javaw.exe -mx256m -jar %jeJarPath% -reuseview %jeSettings% :: ===================================================================== :Lexit if not @%ERROR_OCC%==@ ( Pause )
Plug-ins
Ctags
Quite a few plug-ins need the Sourceforge project Exuberant Ctags, a sourceforge project. This file can be downloaded at the sourceforge website and needs to reside in the PATH environment variable.