{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
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
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.75 3.82 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.4 13.0 13.2 15.0 15.8 16.0 16.3 18.642 18.664 18.671 18.692}} {jdoc:xref:manpage {8.43 8.47 13.44 13.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.4 13.0 13.2 14.0 14.4 14.21 14.29 15.0 15.8 16.0 16.3 18.22 18.27 18.44 18.57 18.95 18.105 18.126 18.133 18.163 18.185 18.291 18.307 18.315 18.325 18.346 18.349 18.553 18.569 18.642 18.664 18.671 18.692 19.0}} {richtext:font:italic {18.44 18.48}} {richtext:font:bold {3.75 3.82 18.48 18.57 18.95 18.105 18.126 18.133 18.163 18.185 18.291 18.307 18.315 18.325 18.346 18.349 18.553 18.569}} {richtext:font:bolditalic {18.642 18.664 18.671 18.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.4 13.0 13.2 14.0 14.4 14.21 14.29 15.0 15.8 16.0 16.3 18.22 18.27}} {richtext:font:heading0 {1.0 2.0}} {jdoc:link:jstools.jdoc {3.75 3.82}} {jdoc:manpage:exmh {8.43 8.47}} {jdoc:manpage:mh {13.44 13.46}} {jdoc:link:jedit.jdoc {3.31 3.36}} {jdoc:link:jeditmodes/richtext-mode.jdoc {15.0 15.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 {12.0 12.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 {13.0 13.2}} {jdoc:link:jeditmodes/tcl-mode.jdoc {16.0 16.3}} {jdoc:link:jedit_prog.jdoc {18.642 18.664}} {jdoc:link:jedit_prog.jdoc#Writing_Editing_Modes {18.671 18.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}}} {{matchend 19.0} {abbrevstart 10.49} {abbrevend 10.55} {insert 1.0} {matchstart 19.0} {anchor 10.28} {current 1.0}}}