The Kate Handbook
Next

The Kate Handbook

Anders Lund

Seth Rothberg

Dominik Haumann

The TDE Team

Revision R14.2.0~[DEVELOPMENT] (January 16, 2014)

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 TDE

This handbook documents Kate Version 2.5.14


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
Getting Help
3. Working With the Kate MDI
Overview
The Main Window
The Editor area
The Document List
The Filesystem Browser
The Sessions panel
The Built in Terminal Emulator
The Find in Files Panel
External Tools
4. Working with the Kate editor
Overview
Navigating in the Text
Working with the Selection
Using Block Selection
Using Normal Selection Mode
Using Persistent Selection Mode
Copying and Pasting Text
Finding and Replacing Text
The Find Text and Replace Text Dialogs
Finding Text
Replacing Text
Finding text in multiple files
Using Bookmarks
Wrapping text
Static word wrapping
Dynamic word wrapping
Using automatic indentation
5. Working with Plugins
6. Advanced Editing Tools
Comment/Uncomment
The Editor Component Command Line
Standard Command Line Commands
Using Code Folding
Scripting the editor with JS
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 Document 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

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 sample script
6.5. A sample .desktop file
Next
 


Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team