Malcolm
Hunter

    malcolm.hunter@gmx.co.uk

KDE British Conversion

# Menu Entries

## The File Menu

&Ctrl;N File New

  This command starts a new document in the editing window. In the Filelist on the left the new file is named Untitled.

&Ctrl;O File Open

  This command does not open a file. It launches &kde;'s open file dialogue box which waits for you to select the files you want to open.

  The open file dialogue box works like a simple version of &konqueror;. Use your &LMB; to click on a file name to select it. Double-click on a file name to open that file. Once you've selected a file name, you can also press the OK button to open the file.

  Select multiple files by holding down the &Ctrl; or the &Shift; key along with the &LMB;. &Ctrl;Left click selects one file at a time. &Shift;Left click selects a contiguous set of files.

  Clicking on a folder name in the file selection window opens that folder and displays its contents. Clicking on a file name shows a thumbnail view of the file in the preview window to the right of the file system window.

  Use the buttons and combo box on the toolbar above the file selection window to move through the file system or to adjust the properties of the open file dialogue box.

  Below the file selection window is the Location combo box. Type the name of the file you want to edit here. If you click the arrow on the right of the drop down box, you can choose from recently used files. Open several files at once by quoting each file name.

  Below the Location combo box is the Filter combo box. Enter file masks here to filter the kinds of files shown in the selection window. For example, typing the filter `*.txt` and pressing Enter will limit the display to files with a `.txt` extension. The Filter combo contains a list of your most recently used filters.

File Open Recent

  This command allows you to open a file from a submenu that contains a list of recently edited files.

&Ctrl;S File Save

  This command saves your file. Use it often. If the file is Untitled then Save becomes Save As.

File Save As

  Name and rename files with this command. It launches the save file dialogue box. This dialogue works just as the open file dialogue box does. You can use it to navigate through your file system, preview existing files, or filter your file view with file masks.

  Type the name you want to give the file you are saving in the Location combo box and press the OK button.

&Ctrl;L File Save All

  This command saves all open files.

F5 File Reload

  Reloads the active file from disk. This command is useful if another program or process has changed the file while you have it open in &kate;

File Open with

  This command launches the open with dialogue box that allows you to select another application to open the active file. Your file will still be open in &kate;.

&Ctrl;P File Print

  Print the active file.

&Ctrl;W File Close

  Close the active file with this command. If you have made unsaved changes, you will be prompted to save the file before &kate; closes it.

File Close All

  This command closes all the files you have open in &kate;.

File New Window

  Opens another instance of &kate;. The new instance will be identical to your previous instance.

&Ctrl;Q File Quit

  This command closes &kate; and any files you were editing. If you have made unsaved changes to any of the files you were editing, you will be prompted to save them.

## The Edit Menu

The Edit menu contains a host of commands, all to work with the currently active document.

### Menu Entries

&Ctrl;Z Edit Undo

  Undo the last editing command (typing, copying, cutting etc.)

  If grouped undo is enabled, this may undo several editing commands of the same type, like typing in characters.

&Ctrl;&Shift;Z Edit Redo

  Redo the last undo step.

&Ctrl;X Edit Cut

  Removes selected text if any, and places a copy of the removed text in the clipboard.

&Ctrl;C Edit Copy

  Copies selected text, if any, to the clipboard.

&Ctrl;V Edit Paste

  Copies the first item in the clipboard into the editor at cursor position.

  If Overwrite Selection is enabled, the pasted text will overwrite the selection, if any.

&Ctrl;A Edit Select All

  Selects all text in the editor.

&Ctrl;&Shift;A Edit Deselect

  Deselects the selected text in the editor if any.

F4 Edit Toggle Block Selection

  Toggles Selection Mode. When the Selection Mode is BLOCK, you can make vertical selections, ie select column 5 to 10 in lines 9 to 15.

  The status bar shows the current state of the Selection Mode, either NORM or BLK.

&Ctrl;F Edit Find

  Launch the Find Dialogue to allow you to search for text in the edited document.

F3 Edit Find Next

  Go to the nearest downwards match of the last text or regular expression searched for, starting from cursor position

&Shift;F3 Edit Find Previous

  Go to the nearest upwards match of the last text or regular expression searched for, starting from cursor position

&Ctrl;R Edit Replace

  Launch the Replace Dialogue to replace one or more instances of a defined text with something else.

&Ctrl;I Edit Indent

  Adds one indent step to the current line, or all lines covered by a possible selection.

  The indentation depends on the settings in the Indent Page of the Configuration Dialogue.

&Ctrl;&Shift;I Edit Unindent

  Removes one indent step from the current line, or all lines covered by a possible selection.

  The indentation depends on the settings in the Indent Page of the Configuration Dialogue.

&Ctrl;# Edit Comment

  Enclose or prepend the current line, or any selected text, with (a) comment marker(s), according to the rules defined by the syntax rules for the document. Does nothing if no comment rules are defined.

  This is interesting mostly when working with source code, for example with C/C++, perl, python &etc;, as well as with markup text like HTML, &XML;, CSS and so on.

&Ctrl;&Shift;# Edit

  Remove comment marker(s) from the current line, or a possible selection, according to the syntax rules for the document.

  See also Edit Comment

&Ctrl;G Edit Go to line...

  Launches the Go To Line Dialogue, allowing you to enter the number of a line to find in the document

## The DocumentMenu

The Document menu has two purposes:

- Allowing you to change the document-specific settings for the currently active document.

- Choosing which of the open documents to work on

A menu entry for each open document will be available below the entries documented here. Clicking one of these will bring the requested document to focus. If you have multiple frames, an editor for that document will be displayed in the currently active frame.

### Menu items

&Alt;Left Document Back

  This will bring the previous document in the stack in focus. If you have multiple frames, an editor for the document will be displayed in the currently active frame.

  The order is the order in which documents were opened, rather than a logical history. This behaviour may change in future versions of &kate;.

&Alt;Right Document Forward

  This will bring the previous document in the stack in focus. If you have multiple frames, an editor for the document will be displayed in the currently active frame.

  The order is the order in which the documents were opened, rather than a logical history. This behaviour may change in future versions of &kate;.

Document Highlight Mode

  The Highlight Mode menu allows you to manually decide which syntax rules to use for highlighting and comment'ing the active document. The menu groups the available syntax rule sets into logical groups.

Document End of Line

  This menu allows you to manually set the End of Line mode for the active document. Changing the mode will replace all line separators in the document with the character sequence for the new mode.

  The available modes are:

  Unix

    On &UNIX; systems, end of line is a single newline character.

  DOS

    On DOS (and &Windows;) systems, end of line is represented by a carriage return followed by a newline.

  Mac

    On &Mac; systems, end of line is represented by a by a carriage return.

## The View menu

The View menu allows you to manage settings specific to the active editor, and to manage frames.

### Menu Items

&Ctrl;&Shift;L View Split Vertical

  This will split the frame (which may be the main editing area) in two equally sized frames, the new one to the left of the current one. The new frame gets the focus, and will display the same document as the old one.

  See also Working with the &kate; MDI

&Ctrl;&Shift;T View Split Horizontal

  Splits the current frame (which may be the main editing area) in two equally sized frames, the new one at the bottom half. The new frame gets the focus, and displays the same document as the old one.

  See also Working with the &kate; MDI

&Ctrl;&Shift;R View Close Current

  Closes the active frame. This is disabled, if there is only one frame (the main editing area).

  No documents get closed by closing a frame – they will still be available in the Documents Menu as well as in the File List.

  See also Working with the &kate; MDI

F6 View Show Icon Border

  This is a toggle item. Setting it on checked will make the side of the active editor, and vice versa.

F11 View Show Line Numbers

  This is a toggle Item. Setting it on checked will make a pane displaying the line numbers of the document visible in the left border of the active editor, and vice versa.

View Go
  F8 Next View

    Move focus to the next frame; the order is following order of creation rather than that of visual logic. This behaviour may change in a future version of &kate;

    See also Working with the &kate; MDI

  &Shift;F8 Previous View

    Move focus to the previous frame; the order is following order of creation rather than that of visual logic. This behaviour may change in a future version of &kate;

    See also Working with the &kate; MDI

## The Bookmarks Menu

The Bookmarks menu allows you to work with the bookmarks in the currently active document.

Below the entries described here, one entry for each bookmark in the active document will be available. The text will be the first few words of the marked line. Choose an item to move the cursor to the start of that line. The editor will scroll as necessary to make that line visible.

### Menu Items

&Ctrl;B Bookmarks Toggle Bookmark

  Sets or removes a bookmark in the current line of the active document. (If it's there, it is removed, otherwise one is set.)

Bookmarks Clear Bookmarks

  Clears (removes) all bookmarks of the active document.

## The Tools Menu

The Tools menu contains commands of two categories:

- Tools doing advanced editing of the current document, for example Editing Command.

- Tools adding functionality to the application, for example the Find in Files tool.

&Ctrl;M Edit Editing Command...

  Launch the Editing Command Dialogue

&Ctrl;&Shift;F Edit Find in Files...

  Launch the Find In Files Dialogue to search for a specified text in files on disk.

Edit Apply Word Wrap

  Apply word wrap to ? according to the settings in the ?

Edit Spelling...

  Spell check the current document using the &kde; spell checker

## The Settings Menu

The Settings menu allows you to change the properties of the main window, such as showing/hiding toolbars and boxes, and provides access to the configuration dialogues.

Settings Show Toolbar

  Toggles the display of the main toolbar.

Settings Show Filelist

  Toggle the display of the &kate; Filelist

Settings Show Fileselector

  Toggle the display of the &kate; File Selector

F7 Settings Show Konsole

  Toggles the display of the built in terminal emulator.

  When activated the first time, the terminal will be created.

  When the terminal emulator is displayed, it will get the focus, so that you can start typing in commands immediately. If the Sync Konsole with Active Document option is enabled in the General Page of the Main configuration dialogue the shell session will be `cd`'d to the folder of the active document, if it is a local file.

Settings Configure Shortcuts

  Display the the familiar &kde; Keyboard Shortcut Configuration Dialogue.

Settings Configure Toolbars

  Display the the familiar &kde; Toolbar Configuration Dialogue.

Settings Configure &kate;

  Launch the Main Configuration Dialogue

## The Help Menu

The Help menu provides access to the online help available for &kate;; as well as to the usual about dialogues.

As well as the standard &kde; Help menu items described below, if you have installed the kdeaddons package with additional &kate; plugins, you will have a menu entry to show the Plugins User Manuals.

&help.menu.documentation;