The Kate Handbook
Next

The Kate Handbook

Anders Lund

Seth Rothberg

Dominik Haumann

Revision 2.00.00 (2002-01-26)

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, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Kate is a programmer's text editor for KDE 2.2 and above.

This handbook documents Kate Version 1.0


Table of Contents

1. Introduction
2. The Fundamentals
Starting Kate
From the Menu
From the Command Line
Drag and Drop
Working with Kate
Quick Start
Keystroke Commands
Getting Help
With Kate
With Your Text Files
3. Working With the Kate MDI
Overview
The Main Window
The Editor area
The Document List
The File Selector
The Built in Terminal Emulator
External Tools
4. Working with the Kate editor
Overview
Navigating in the Text
Working with the Selection
Using Block Selection
Using Overwrite Selection
Using Persistent Selection
Copying and Pasting Text
Finding and Replacing Text
The Find Text and Replace Text Dialogs
Finding Text
Replacing Text
Using Bookmarks
Automatically Wrapping text
Using automatic indenting
5. Working with Plugins
6. Advanced Editing Tools
Comment/Uncomment
The Editor Component Command Line
Standard Command Line Commands
7. Menu Entries
The File Menu
The Edit Menu
The DocumentMenu
The View menu
The Bookmarks Menu
The Tools Menu
The Settings Menu
The Help Menu
8. Configuring Kate
Overview
The Main Configuration Dialog
The Kate group
The Editor Group
The Plugins Group
Configuring With Document Variables
How kate uses variables
9. Credits and License
A. Working with Syntax Highlighting
Overview
The Kate Syntax Highlight System
How it Works
Rules
Context Styles and Keywords
Default Styles
The Highlight Definition XML Format
Overview
Highlight Detection Rules
B. Regular Expressions
Introduction
Patterns
Escaping characters
Character Classes and abbreviations
Alternatives: matching “one of
Sub Patterns
Characters with a special meaning inside patterns
Quantifiers
Greed
In context examples
Assertions
C. Installation

List of Examples

6.1. char examples
6.2. Replacing text in the current line
6.3. Replacing text in the whole file
6.4. A More Advanced Example
Next