Chapter 3. Working with the Kate editor

Anders Lund

Dominik Haumann

Table of Contents

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 Search and Replace Bars
Finding Text
Replacing Text
Using Bookmarks  
Automatically Wrapping text
Using automatic indenting  
Line Modification Indicators
The Scrollbar Minimap


The Kate editor is the editing area of the Kate window. This editor is shared between Kate and KWrite, and it can also be used in Konqueror for displaying text files from your local computer, or from the network.

The editor is composed of the following components:

The editing area

This is where the text of your document is located.

The Scroll bars

The scroll bars indicate the position of the visible part of the document text, and can be used to move around the document. Dragging the scrollbars will not cause the insertion cursor to be moved.

The scroll bars are displayed and hidden as required.

The Icon Border

The icon border is a small pane on the left side of the editor, displaying a small icon next to marked lines.

You can set or remove a bookmark in a visible line by clicking the left mouse button in the icon border next to that line.

The display of the icon border can be toggled using the ViewShow Icon Border menu item.

The Line Numbers Pane

The Line numbers pane shows the line numbers of all visible lines in the document.

The display of the Line Numbers Pane can be toggled using the ViewShow Line Numbers menu item.

The Folding Pane  

The folding pane allows you to collapse or expand foldable blocks of lines. The calculation of the foldable regions are done according to rules in the syntax highlight definition for the document.