Chapter 4. The KWrite Text Editor

Table of Contents

4.1. Starting KWrite
4.2. The File Menu
4.3. The Edit Menu
4.4. The View Menu
4.5. The Bookmarks Menu
4.6. The Tools Menu
4.7. The Settings Menu
4.8. The Help Menu
4.9. Kate

Abstract

KWrite can be used to write simple texts or lists. Apart from these basic editing functions, KWrite can also be used to view and edit different types of source and HTML code with syntax highlighting. This chapter provides a brief overview of the main features of KWrite, introducing the main menus and tools.

4.1. Starting KWrite

Start KWrite from the main menu or using the command kwrite. The command can be entered on the command line together with the name of the file to open. As well as using the menu bar, the toolbar, and a number of shortcuts, you can right-click the opened document to access a context menu providing basic editor functions.

KWrite supports the drag and drop functions of KDE. This means that you can simply drag documents with the mouse from one application into another or paste data from the clipboard, described in 1.4.5. “The Clipboard Klipper”. To edit a text file for which there is an icon on the desktop, click the icon with the left mouse button and hold the button while dragging it into the editor window. You can now edit the file as usual. Paste text from the clipboard by middle-clicking. To edit or view the source code of an HTML page, drag the URL into the editor window of KWrite, keeping the left mouse button pressed.

Figure 4.1. The KWrite Text Editor

The KWrite Text Editor