Editing
Prev
Next

Editing

Tabulators
Insert spaces instead of tabulators

When this is enabled the editor will insert a calculated number of spaces according to the position in the text and the tab-width setting when you press the TAB key.

Show tabulators

When this is enabled KWrite will display a small dot as a visual representation of tabulator characters.

Note

This also causes dots to be drawn to indicate trailing white space. This will be fixed in a future version of KWrite

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.

Static Word Wrap

Word wrap is a feature that causes the editor to automatically start a new line of text and move (wrap) the cursor to the beginning of that new line. KWrite will automatically start a new line of text when the current line reaches the length specified by the Wrap Words At: option.

Enable static word wrap

Turns static word wrap on or off.

Show static word wrap markers (if applicable)

If this option is checked, a vertical line will be drawn at the word wrap column as defined in the Settings->Configure Editor... in the Editing tab. Please note that the word wrap marker is only drawn if you use a fixed pitch font.

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.

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.

Maximum 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.

Smart search text from:

This determines where KWrite will get the search text from (this will be automatically entered into the Find Text dialog):

  • Nowhere: Don't guess the search text.

  • Selection Only: Use the current text selection, if available.

  • Selection, then Current Word: Use the current selection if available, otherwise use the current word.

  • Current Word Only: Use the word that the cursor is currently resting on, if available.

  • Current Word, then Selection: Use the current word if available, otherwise use the current selection.

Note that, in all the above modes, if a search string has not been or cannot be determined, then the Find Text Dialog will fall back to the last search text.

Prev
Next
Home


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team