{Editing Modes Distributed with jedit

A number of mode files for the jedit editor are distributed as part of the jstools package.  The mode files allow jedit to support different editing modes, depending (typically) on what kind of file you're editing.

The mods currently distributed with jedit are:

code - generic mode for editing source code
exmh - mode for composing mail from within exmh(l)
hook - test mode
html - mode for composing HTML documents for the World Wide Web
jdoc - mode for composing hypertext documentation
jhtml - WYSIWYG mode for composing (limited) HTML
mail - generic mode for composing mail messages
mh - mode for composing mail messages using MH
note - obsolete; use richtext mode instead.
richtext - generic mode for editing multi­font text (not yet documented)
sh - mode for editing scripts in Bourne shell and derivatives
tcl - mode for editing Tcl code

The files that define jedit modes are named mode-mode.tcl, and they're normally located in the jeditmodes subdirectory of the jstools library directory (typically /usr/local/lib/jstools).  If you want to change or enhance the behaviour of any of these modes, you can make a directory called ~/.tk/jeditmodes (i.e., jeditmodes in the subdirectory .tk of your home directory), copy the mode file for the mode you want to change to that directory, and edit it to your liking.  You can also create completely new modes for yourself by creating new files in ~/.tk/jeditmodes.  Information about writing and modifying editing modes is available in Programming with jedit under Writing Editing Modes.
} {{{jdoc:xref:link {3.31 3.36 3.71 3.90 7.0 7.4 8.0 8.4 9.0 9.4 10.0 10.4 10.26 10.30 10.45 10.63 11.0 11.4 12.0 12.5 12.45 12.49 13.0 13.4 14.0 14.2 16.0 16.8 17.0 17.2 18.0 18.3 20.642 20.664 20.671 20.692}} {jdoc:xref:manpage {8.43 8.47 14.44 14.46}} {richtext:font:roman {2.0 3.31 3.36 3.75 3.82 3.114 3.119 5.36 5.41 7.0 7.4 8.0 8.4 8.43 8.47 9.0 9.4 10.0 10.4 11.0 11.4 12.0 12.5 13.0 13.4 14.0 14.2 15.0 15.4 15.21 15.29 16.0 16.8 17.0 17.2 18.0 18.3 20.22 20.27 20.44 20.57 20.95 20.105 20.126 20.133 20.163 20.185 20.291 20.307 20.315 20.325 20.346 20.349 20.553 20.569 20.642 20.664 20.671 20.692 21.0}} {richtext:font:italic {20.44 20.48}} {richtext:font:bold {3.75 3.82 20.48 20.57 20.95 20.105 20.126 20.133 20.163 20.185 20.291 20.307 20.315 20.325 20.346 20.349 20.553 20.569}} {richtext:font:bolditalic {20.642 20.664 20.671 20.692}} {richtext:font:typewriter {3.31 3.36 3.114 3.119 5.36 5.41 7.0 7.4 8.0 8.4 8.43 8.47 9.0 9.4 10.0 10.4 11.0 11.4 12.0 12.5 13.0 13.4 14.0 14.2 15.0 15.4 15.21 15.29 16.0 16.8 17.0 17.2 18.0 18.3 20.22 20.27}} {richtext:font:heading0 {1.0 2.0}} {jdoc:manpage:exmh {8.43 8.47}} {jdoc:manpage:mh {14.44 14.46}} {jdoc:link:jedit.jdoc {3.31 3.36}} {jdoc:link:jeditmodes/richtext-mode.jdoc {16.0 16.8}} {jdoc:link:jeditmodes/code-mode.jdoc {7.0 7.4}} {jdoc:link:jeditmodes/hook-mode.jdoc {9.0 9.4}} {jdoc:link:jeditmodes/mail-mode.jdoc {13.0 13.4}} {jdoc:link:jeditmodes/exmh-mode.jdoc {8.0 8.4}} {jdoc:link:jeditmodes/jdoc-mode.jdoc {11.0 11.4}} {jdoc:link:jeditmodes/mh-mode.jdoc {14.0 14.2}} {jdoc:link:jeditmodes/tcl-mode.jdoc {18.0 18.3}} {jdoc:link:jedit_prog.jdoc {20.642 20.664}} {jdoc:link:jedit_prog.jdoc#Writing_Editing_Modes {20.671 20.692}} {jdoc:link:http://www.w3.org/ {10.45 10.63}} {jdoc:link:jeditmodes/html-mode.jdoc {10.0 10.4}} {jdoc:link:http://www.yahoo.com/Computers_and_Internet/Software/Data_Formats/HTML/ {10.26 10.30 12.45 12.49}} {jdoc:link:the_jstools_package.jdoc {3.71 3.90}} {jdoc:link:jeditmodes/jhtml-mode.jdoc {12.0 12.5}} {jdoc:link:jeditmodes/sh-mode.jdoc {17.0 17.2}}} {{abbrevstart 16.61} {matchend 21.0} {abbrevend 16.72} {insert 1.0} {anchor 1.0} {matchstart 21.0} {current 15.43}}} {}