Jedit 3.2 User's Guide
Total Page:16
File Type:pdf, Size:1020Kb
jEdit 3.2 User’s Guide jEdit 3.2 User’s Guide Copyright © 1998, 2001 by Slava Pestov Copyright © 2001 by John Gellene Legal Notice Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no “Invariant Sections”, “Front-Cover Texts” or “Back-Cover Texts”, each as defined in the license. A copy of the license can be found in the file COPYING.DOC.txt included with jEdit. Table of Contents I. Using jEdit ..................................................................................................................10 1. Starting jEdit ........................................................................................................11 1.1. Conventions ..............................................................................................11 1.2. Platform-Independent Instructions............................................................11 1.3. Starting jEdit on Windows........................................................................12 1.4. Command Line Usage...............................................................................13 2. jEdit Basics ..........................................................................................................16 2.1. Buffers.......................................................................................................16 2.2. Views.........................................................................................................16 2.2.1. Window Docking ...........................................................................17 2.2.2. The Status Bar................................................................................17 2.3. The Text Area............................................................................................18 2.4. Command Repetition ................................................................................19 3. Working With Files..............................................................................................20 3.1. Creating New Files ...................................................................................20 3.2. Opening Files............................................................................................20 3.3. Saving Files...............................................................................................20 3.3.1. Autosave and Crash Recovery .......................................................21 3.3.2. Backups..........................................................................................21 3.4. Line Separators .........................................................................................22 3.5. Character Encodings .................................................................................22 3.5.1. Commonly Used Encodings ..........................................................23 3.6. The File System Browser..........................................................................24 3.7. Reloading Files .........................................................................................26 3.8. Multi-Threaded I/O...................................................................................27 3.9. Printing Files.............................................................................................27 3.10. Closing Files and Exiting jEdit...............................................................27 4. Editing Text..........................................................................................................29 4.1. Moving The Caret.....................................................................................29 4.2. Selecting Text............................................................................................29 4.2.1. Rectangular Selection ....................................................................29 4.2.2. Multiple Selection..........................................................................30 4.3. Inserting and Deleting Text.......................................................................31 4.4. Undo and Redo .........................................................................................32 3 4.5. Working With Words ................................................................................32 4.6. Working With Lines..................................................................................33 4.7. Working With Paragraphs .........................................................................34 4.8. Scrolling....................................................................................................34 4.9. Transferring Text.......................................................................................35 4.9.1. Quick Copy ....................................................................................35 4.9.2. The System Clipboard....................................................................35 4.9.3. General Register Commands .........................................................36 4.10. Markers ...................................................................................................37 4.11. Search and Replace.................................................................................39 4.11.1. Searching For Text.......................................................................39 4.11.2. Replacing Text .............................................................................39 4.11.3. HyperSearch.................................................................................41 4.11.4. Multiple File Search.....................................................................41 4.11.5. The Search Bar.............................................................................41 5. Editing Source Code ............................................................................................43 5.1. Edit Modes................................................................................................43 5.1.1. Mode Selection ..............................................................................43 5.1.2. Syntax Highlighting.......................................................................43 5.2. Abbreviations............................................................................................44 5.2.1. Positional Parameters.....................................................................44 5.3. Bracket Matching......................................................................................45 5.4. Tabbing and Indentation ...........................................................................45 5.4.1. Soft Tabs ........................................................................................46 5.4.2. Automatic Indent ...........................................................................47 5.5. Commenting Out Code .............................................................................48 5.6. Folding ......................................................................................................48 5.6.1. Narrowing ......................................................................................50 6. Customizing jEdit ................................................................................................51 6.1. The Buffer Options Dialog Box................................................................51 6.2. Buffer-Local Properties.............................................................................51 6.3. The Global Options Dialog Box ...............................................................53 6.4. The jEdit Settings Directory .....................................................................55 7. Using Macros.......................................................................................................58 7.1. Recording Macros.....................................................................................58 7.2. Running Macros........................................................................................59 7.3. How jEdit Organizes Macros....................................................................59 4 8. Installing and Using Plugins ................................................................................62 8.1. The Plugin Manager..................................................................................62 8.2. Installing Plugins ......................................................................................62 8.3. Updating Plugins.......................................................................................63 A. Keyboard Shortcuts.............................................................................................64 B. The Activity Log .................................................................................................71 C. History Text Fields ..............................................................................................72 D. Glob Patterns.......................................................................................................73 E. Regular Expressions ............................................................................................75 F. Macros Included With jEdit.................................................................................78 F.1. File Management Macros .........................................................................78 F.2. Text Macros...............................................................................................78