jEdit 2.4 User's Guide

Slava Pestov

Legal Notice

This book is released under the GNU General Public License. A copy of the GPL is available in the COPYING.txt file supplied with jEdit.


Table of Contents
1. General Information
2. Conventions Used in This Manual
Menu Items
Keyboard Shortcuts
3. Basic Features
Starting jEdit
The Activity Log
Opening Files
Creating New Files
The Caret
Selecting Text
Entering and Deleting Text
Undo and Redo
The Clipboard
Saving Files
Autosave and Backups
Line Separator Characters
When Another Application Modifies the File
Printing and Sending Files
Closing Files and Exiting jEdit
4. Advanced Features
Working With Words
Working With Lines
Working With Paragraphs
Working With Views
The Gutter
Saving and Loading Sessions
Markers
Command Repetition
Rectangular Selection
Registers
String Registers
Caret Registers
File Name Registers
Abbreviations
Macros
Macro Files
Recording Macros
Temporary Macros
Some Sample Macros
5. Edit Modes
Mode Selection
Syntax Highlighting
Installing New Edit Modes
Writing Edit Modes
An XML Primer
The Preamble
The MODE Tag
The PROPS Tag
The RULES Tag
TERMINATE rule
WHITESPACE rule
SPAN rule
EOL_SPAN rule
MARK_PREVIOUS rule
MARK_FOLLOWING rule
SEQ rule
KEYWORDS rule
Token Types
6. Source Code Editing
Bracket Matching
Tabbing and Indentation
Changing the Tab Width
Soft Tabs
Indentation-Related Commands
Automatic Indent
Commenting Out Code
7. Search and Replace
The Search and Replace Dialog Box
The HyperSearch Dialog Box
The Search Bar
History Text Fields
Searching in Multiple Files
8. Customizing jEdit
The Buffer Options Dialog Box
Buffer-Local Properties
The Global Options Dialog Box
The General Pane
The Editor Pane
The Gutter Pane
The Colors & Styles Pane
The File Filters Pane
The Context Menu Pane
The Abbreviations Pane
The Shortcut Editing Panes
9. Installing and Using Plugins
The Plugin Manager
Updating Plugins
Installing Plugins
Using Plugins
10. Developing Plugins
General Structure of a Plugin
The EditPlugin Class
Plugin Properties
Plugin Documentation
Plugin Dependencies
Plugin Actions
The Plugins Menu
The Global Options Dialog Box
Useful UI Methods
Canned Dialog Boxes
Saving Window Geometry
Improved Dialog Box Key Handling
The Activity Log
The EditBus
BufferUpdate Message
EditorExiting Message
EditorStarted Message
MacrosChanged Message
PropertiesChanged Message
SearchSettingsChanged Message
ViewUpdate Message
A. Command Line Usage
B. The Edit Server
C. Regular Expressions
D. Glob Patterns
E. History of jEdit
Index