- →
Set the current document to Read Only mode. This prevents any text addition and any changes in the document formatting.
- →
Choose the filetype scheme you prefer for the active document. This overwrites the global filetype mode set in → in the Filetypes tab for your current document only.
- →
Choose the Highlighting scheme you prefer for the active document. This overwrites the global highlighting mode set in → for your current document only.
- →
Choose the style of indentation you want for your active document. This overwrites the global indentation mode set in → for your current document only.
- →
You can overwrite the default encoding set in → in the Open/Save page to set a different encoding for your current document. The encoding you set here will be only valid for your current document.
- →
Choose your preferred end of line mode for your active document. This overwrites the global end of line mode set in → for your current document only.
- →
Checking this action you can explicitly add a byte order mark for unicode encoded documents. The byte order mark (BOM) is a Unicode character used to signal the endianness (byte order) of a text file or stream, for more information see Byte Order Mark.
- →
This submenu contains a list of all scripted actions. The list can easily be modified by writing your own scripts. This way, KatePart can be extended with user-defined tools.
- → →
- → →
- → → →
Sorts the selected text or whole document in ascending order.
- → → → (Ctrl+Shift+Down)
Move selected lines down.
- → → → (Ctrl+Shift+Up)
Move selected lines up.
- → → → (Ctrl+Alt+Down)
Duplicates the selected lines down.
- → → → (Ctrl+Alt+Up)
Duplicates the selected lines up.
- → → →
Encodes the selected text so that it can be used as part of a query string in a URL, replacing the selection with the encoded text.
- → → →
If part of the query string of a URL is selected, this will decode it and replace the selection with the original raw text.
- → →
- → → →
Converts the selected text to a pair of opening and closing HTML or XML tags. For example, if
div
is selected, this item will replace that with<div></div>
.- → → →
Wraps the selected text with the tag provided on the command line.
- → → →
If the cursor is inside an opening HTML/XML tag, this item will move it to the closing tag. If the cursor is inside the closing tag, it will instead move it to the opening tag.
- → → →
When the cursor is inside a pair of HTML/XML tags, this option will change the selection to include the contents of those HTML/XML tags, without selecting the tags themselves.
- → → →
When the cursor is inside a pair of HTML/XML tags, this item will change the selection to include the contents of those HTML/XML tags, including the tags themselves.
- → → →
If the selected portion is not a comment, this item will enclose that portion in HTML/XML comments (e.g.
<!-- selected text -->
). If the selected portion is a comment, the comment tags will be removed instead.- → → →
If the cursor is presently inside a HTML/XML tag, this item will delete the entire tag.
- → → →
This item will subtract one from the currently selected text, if it is a number. For example, if
5
is selected, it will become4
.- → → →
This item will subtract 10 from the currently selected text, if it is a number. For example, if
15
is selected, it will become5
.- → → →
This item will subtract 0.1 from the currently selected text, if it is a number. For example, if
4.5
is selected, it will become4.4
.- → → →
This item will add one to the currently selected text, if it is a number. For example, if
5
is selected, it will become6
.- → → →
This item will add 10 to the currently selected text, if it is a number. For example, if
5
is selected, it will become15
.- → → →
This item will add 0.1 to the currently selected text, if it is a number. For example, if
4.5
is selected, it will become4.6
.
- → (Ctrl+Space)
Manually invoke command completion, usually by using a shortcut bound to this action.
- →
(Ctrl+9) and (Ctrl+8) complete the currently typed text by searching for similar words backward or forward from the current cursor position. pops up a completion box with matching entries.
- → → (Ctrl+Shift+O)
When is enabled, wrongly spelled text is underlined in the document on-the-fly.
- → →
This initiates the spellchecking program - a program designed to help the user catch and correct any spelling errors. Clicking on this entry will start the checker and bring up the speller dialog box through which the user can control the process. There are four settings lined up vertically in the center of the dialog with their corresponding labels just to the left. Starting at the top they are:
- Unknown word:
Here, the spellchecker indicates the word currently under consideration. This happens when the checker encounters a word not in its dictionary - a file containing a list of correctly spelled words against which it compares each word in the editor.
- Replace with:
If the checker has any similar words in its dictionary the first one will be listed here. The user can accept the suggestion, type in his or her own correction, or choose a different suggestion from the next box.
- Language:
If you have installed multiple dictionaries, here you can select which dictionary/language should be used.
On the right side of the dialog box are 6 buttons that allow the user to control the spellcheck process. They are:
Pressing this button adds the Unknown word to the checker's dictionary. This means that in the future the checker will always consider this word to be correctly spelled.
- Suggest
The checker may list here a number of possible replacements for the word under consideration. Clicking on any one of the suggestions will cause that word to be entered in the Replace with box, above.
This button has the checker replace the word under consideration in the document with the word in the Replace with box.
This button causes the checker to replace not only the current Unknown word: but to automatically make the same substitution for any other occurrences of this Unknown word in the document.
Activating this button will have the checker move on without making any changes.
This button tells the checker to do nothing with the current Unknown word: and to pass over any other instances of the same word.
Note
This only applies to the current spellcheck run. If the checker is run again later it will stop on this same word.
Three more buttons are located horizontally along the bottom of the spellcheck dialog. They are:
This invokes the KDE help system with the help page for this dialog.
This button ends the spellcheck process, and returns to the document.
This button cancels the spellcheck process, all modifications are reverted, and you will return to your document.
- → →
This initiates the spellchecking program but it starts where your cursor is instead of at the beginning of the document.
- → →
Spellchecks the current selection.
- → →
Displays a drop down box with all available dictionaries for spellchecking at the bottom of the editor window. This allows easy switching of the spellcheck dictionary e.g. for automatic spellcheck of text in different languages.