The Kate Handbook
Next

The Kate Handbook

Anders Lund

Seth Rothberg

Dominik Haumann

Revision 2.5.0 (2005-12-29)

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 2.5.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
Shortcuts
Using Sessions
Restoring old style Kate behavior
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 Filesystem Browser
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 Plug-ins
6. Advanced Editing Tools
Comment/Uncomment
The Editor Component Command Line
Standard Command Line Commands
Using Code Folding
Scripting the editor component with Javascript
Introduction
The Kate JavaScript API
7. Menu Entries
The File Menu
The Edit Menu
The Document Menu
The View menu
The Bookmarks Menu
The Tools Menu
The Sessions Menu
The Settings Menu
the Window Menu
The Help Menu
8. Configuring Kate
Overview
The Main Configuration Dialog
The Kate Application Configuration
The General Page
The Sessions Page
The Filesystem Browser Page
The Doucment List Page
The Plugins Page
External Tools
The Editor Component Configuration
Appearance
Fonts & Colors
Cursor & Selection
Editing
Indentation
Open & Save
Highlighting
Filetypes
Shortcuts
Plugins
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
The Sections in Detail
Available Default Styles
Highlight Detection Rules
The Rules in Detail
Tips & Tricks
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
6.5. using canComment
6.6. A sample script
6.7. A sample .desktop file
Next
 


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team