This menu provides all the program's editing functions, such as selecting and searching or replacing text according to certain patterns.
Use this to undo any unwanted changes and to restore the original text after an undo step. These functions are also available using the keyboard shortcuts Ctrl-Z and Ctrl-Shift-Z.
This cuts the currently selected text region.
This copies the selected text region to the clipboard.
Use this to insert text from the clipboard. You can also paste text by middle-clicking.
This selects all the text in a document, for example, to copy and paste it into another document.
This menu item deselects a previously selected text area. You can do the same by left-clicking in the document window.
KWrite not only supports marking and removing horizontal selections (lines or paragraphs), but also vertical selections (any desired text block). This item toggles the block selection mode. Text marked in this way can be moved to the clipboard using or .
This changes the program's input mode. By default, KWrite inserts new text at the current cursor position. Selecting this menu item switches the editing mode so any existing text is overwritten.
In the dialog that opens, enter a search string or a regular expression and define the search direction, the starting point, and other details. To go from one match of the search term to the next, select. To go to a previous match of the search term, select . To replace a search term with another string, use .
To jump to a particular line in the document, select this menu item, enter the line number in the dialog that opens, then confirm with.