# 4.3. Edit

Word Wrap

  KWrite will automatically start a new line of text when the current line reaches the length specified by the Wrap Words At: option.

Wrap Words At:

  If the Word Wrap option is selected this entry determines the length (in characters) at which the editor will automatically start a new line.

Replace Tabs By Spaces

  KWrite will replace any tabs with the number of spaces indicated in the Tab Width: entry.

Tab Width

  If the Replace Tabs By Spaces option is selected this entry determines the number of spaces with which the editor will automatically replace tabs.

Remove Trailing Spaces

  KWrite will automatically eliminate extra spaces at the ends of lines of text.

Auto Brackets

  When the user types a left bracket ([,(, or {) KWrite automatically enters the right bracket (}, ), or ]) to the right of the cursor.

Group Undos

  Groups of similar actions are to be considered a single Undo step by KWrite. In other words, a series of regular character keystrokes (words or expressions) would be considered one step and therefore be removed by a single undo operation. If the series of character entries were interrupted by a non-character entry operation (such as a backspace), invoking undo would only remove the entries made since that operation. The next undo would then reverse that operation and so on.

  When this option is not selected KWrite considers each keystroke to be a single step. So if the user (with this option active) were to type several words or even sentences without having to make corrections or cut or paste or some other non-character entry operation then a click of the undo button would eliminate all that had been typed since the last non-entry operation. A second click would eliminate that operation and a third any operation or series of entries that occurred before the operation and so on. When not selected three clicks of the undo button would only remove the last three letters typed, or the last three operations.

Show Tabs

  The editor will display a symbol to indicate the presence of a tab in the text.

Smart Home

  Not yet implemented

Page Up/Down Moves Cursor

  Not implemented yet.

Wrap Cursor

  When this option is chosen, moving the cursor with the arrow keys off the end of a line (to the right) causes it to jump down to the beginning of the next line. Likewise when the cursor is moved past the beginning of a line (to the left) it jumps up to the end of the preceding line. When this option is not selected, moving the cursor right past the end of a line merely causes it to continue horizontally in the same line and trying to move it left past the beginning does nothing.

Undo steps:

  Here the user may specify the number of steps KWrite will retain in memory for purposes of undoing entries and actions. This means that the higher the number of steps set the more memory KWrite will use for this. Setting this entry to 10 would mean that the user would be be able reverse the last ten operations, i.e., click the undo button 10 times and obtain results.