Robert
Nickel

# &quanta;'s Menus

Some of the items listed in this section may be incorrect. If you find an error, please drop a line to robert@artnickel.com and let me know about it. Much of the menu tree was changed shortly after I wrote this section.

## File Menu

&Ctrl; N File New

  Create a new, blank file.

&Ctrl; O File Open

  Search the filesystem to open an existing file. You can also use the kio slaves here to open up files from the network by placing the kio slave tag at the beginning of the url. (e.g. ftp://foo.bar.com/myfile.html)

File Open Recent

  Quick list of the last several files you've opened for ease of use. This list will change each time you open a file that is not on it, with the oldest being bumped off first.

&Ctrl; S File Save

  Save the active file's changes.

File Save As

  Save the active file with another name.

Save As Template

  This allows you to save code snippets and entire files as a template for later use. See the section on templates

&Ctrl;&Shift; S File Save All

  Save all modified files in the editor.

&Ctrl; P File Print

  A new feature in &quanta;! You can actually print out your documents. Uses the kprinter interface.

&Ctrl; W File Close

  Close the currently displayed file.

File Close All

  Close all open files. Prompting for save if modified, of course.

&Ctrl; Q File Quit

  Exit &quanta;

## Edit Menu

&Ctrl; Z Edit Undo

  Undo the last action performed.

&Ctrl;&Shift; Z Edit Redo

  Redo the last action undone.

&Ctrl; X Edit Cut

  Cut the current block of text and place its contents on the clipboard.

&Ctrl; C Edit Copy

  Copy the current block of text to the clipboard.

&Ctrl; V Edit Paste

  Paste the contents of the clipboard at the current cursor position.

Edit Paste Special

  Edit Paste Special HTML Quoted

    Converts the clipboard text HTML special characters to html entities before pasting into the text body so they show up properly when viewed and aren't picked up as tags by the client browser.

  Edit Paste Special URL Encoded

&Ctrl; A Edit Select All

  Select all of the text in the current document.

&Ctrl;&Shift; A Edit Deselect

  Unselect all text in the current document.

F4 Edit Toggle Block Selection

  Turn on/off block highlighting. Allows you to select text blocks with your keyboard without holding down the shift key.

&Ctrl; F Edit Find

  String or regular expression pattern to find in the current document.

F3 Edit Find Next

  Repeat the find downward in the document from the current location.

&Shift; F3 Edit Find Previous

  Repeat the find upward in the document from the current location.

&Ctrl; R Edit Replace

  String or regular expression replacement of text in the current file.

&Alt;&Ctrl; A Edit Find in Files

  Find a string or expression in files in the selected directory. Sort of a gui grep or sed with some predefined pattern spaces to help you out.

&Ctrl; I Edit Indent

  Move the selected block of text one tab width to the right.

&Ctrl;&Shift; I Edit Unindent

  Move the selected block of text one tab width to the left.

&Ctrl; # Edit Comment

  Deprecated. HTML specific function that will be pulled soon. Don't get used to it as it's HTML comments and not DTD specific.

&Ctrl;&Shift; # Edit Uncomment

  Deprecated. HTML specific function that will be pulled soon. Don't get used to it as it's HTML comments and not DTD specific.

Edit Apply Word Wrap

  Wrap the text in the current window to a predefined width.

&Ctrl; G Edit Go to Line

  Go directly to a specific line number. This is really helpful when your PHP script is barfing at you!

Edit Spelling...

  Check the spelling in the current document.

## View Menu

View Show Files Tree

  Toggle display of the files tree.

View Show Project Tree

  Toggle display of the project tree.

View Show Template Tree

  Toggle display of the template tree.

View Show Structure Tree

  Toggle display of the document structure tree.

View Show Documentation Tree

  Toggle display of the documentation tree.

F6 View Show Preview

  Preview the current document.

Back

  Navigate back one step in the preview.

Forward

  Navigate forward one step in the preview after having gone back in the preview.

F5 View Reload Preview

  Reload the preview from disk.

&Alt; F6 View View with Netscape

  View the current file with Netscape (Mozilla).

&Ctrl; F6 View View with Konqueror

  View the current file with Konqueror.

&Shift; F6 View View with Lynx

  View the current file with Lynx (text based browser).

## Bookmarks Menu

&Ctrl; B Bookmarks Toggle Bookmark

  Toggle a bookmark at the current line location in the current file.

Bookmarks Clear Bookmarks

  Clears all set bookmarks.

## Project Menu

If you are looking for a description of how to use projects in &quanta;, go here instead.

Project New Project

  Launch the project creation wizard.

Project Open Project

  Open an existing project file from disk. &quanta; projects are saved with the .webprj extension.

Project Open Recent

  Gives you a list of your most recently used projects for quick access.

Project Save Project

  Save the current project to disk.

Project Close Project

  Close the current project.

Project Insert Files

  Presents a dialog that allows you to select files to add to your current project. These files will then be copied into the project directory for editing.

Project Insert Directory

  Insert a directory and all of its contents into the current project.

Project Rescan Project Directory

  Scan the project directory for any new files you may have there. This allows you to copy graphics into your project directory or a subdirectory thereof and then add them to the project.

Project Upload Project

  Upload the files in your project to the hosting server. The list of available transports depends on the version of &kde; you are running and whether or not you've downloaded extra kio slaves.

Project Project Options

  Settings affecting the way &quanta; manages your project. See the &quanta; projects section for details.

## Tags Menu

This menu contains a list of the tags that are on the currently loaded toolbars. i.e. If you have the Standard (HTML) toolbar loaded, the Tags menu will contain a submenu Standard which will contain the list of tags/actions on that toolbar. This is a pretty cool little keyboard navigation scheme that Andras came up with of a sudden one day.

## Tools Menu

Tools Change DTD Type

  Pops up a dialog box that allows you to change the current documents DTD (Document Type Defininition)

&Ctrl; E Tools Edit Current Tag

  Allows you to access the current markup tag's settings dialog if one exists.

Tools Syntax Check

  Checks the syntax of the current document against the selected DTD.

## Toolbars Menu

Toolbars Load Toolbars

  Toolbars Load Toolbars Load Global Toolbar

    Loads a globally defined toolbar. These are kept in $KDEDIR/share/apps/quanta/toolbars by default.

  Toolbars Load Toolbars Load Local Toolbar

    Loads a locally defined toolbar. These are kept in $HOME/.kde/share/apps/quanta/toolbars by default.

  Toolbars Load Toolbars Load Project Toolbar

    Loads a project toolbar. These are kept in <ProjectDir>/toolbars and are only available in this menu if they have been assigned to this project.

Toolbars Save Toolbars

  Dialog for saving your toolbars. Allows you to pick the type of toolbar; Local or Project.

  Toolbars Save Toolbars Save as Local Toolbar

    Save as a local toolbar to $HOME/.kde/share/apps/quanta/toolbars

  Toolbars Save Toolbars Save as Project Toolbar

    Save as a project toolbar in <ProjectDir>/toolbars

Toolbars Add User Toolbar

  Brings up a dialog to create a new toolbar. This only creates the name. Actions must be added from the Settings->Configure Actions menu item. Toolbars are saved via the Toolbars->Save Toolbars menu or on close unsaved toolbars will prompt for you to save.

Toolbars Remove User Toolbar

  Remove a toolbar from usage. This does not remove it from the disk. If you've not saved the toolbar you are removing, you will be prompted to save it.

Toolbars Send Toolbar in Email

  This is a hook to email your custom toolbar to someone (maybe the &quanta; team for inclusion in the next release!) for their use. It spawns an email window and attaches your toolbar file to it automagically.

## Settings Menu

Show Toolbar

  Toggle display of the &quanta; toolbar. This has no effect on the action toolbars.

Show Statusbar

  Toggle display of the status bar along the bottom of the editor.

Show Messages

  Toggle display of the message window. This is the window where you see the output of any scripting actions and the debugger.

Show Icon Border

  Toggle display of the icon border to the left of the main editor window. This bar allows for click toggling of bookmarks.

Show Line Numbers

  Toggles the display of line numbers along the left side of the main editor window.

Configure Editor

  Setup the behavior of the editor window. See the documentation on &kate; for details.

Configure &quanta;

  Setup the behavior of &quanta;.

Configure Actions

  This is where you define the actions for use on toolbars. Please see the

Configure Toolbars

  Dialog that allows you to add/delete items to/from toolbars and change the order the icons appear in.

Configure Shortcuts

  Allows you to configure the many editor shortcuts available to &quanta;.

Highlight Mode

  Choose the syntax highlighting mode for the current file. The list of available highlighting schemes varies depending on your version of &kate;.

End of Line

  Select the end of line encoding type. Useful if you have folks using other OS platforms to develop on (shudder at the thought). Choose from Unix, Windows/DOS or Macintosh.

## Help Menu

&quanta; Handbook

What's this?

  This gives a little question mark next to your pointer and allows clicking on an object for specific help. At the time of this writing this feature is not implemented.

Context Help

  This should produce help based on the current pointer context. At the time of this writing this feature is not implemented.

Report Bug

  This gathers the operating environment for &quanta; and produces a link to the kde bug wizard.

About &quanta;

  All about &quanta;, it's authors and supporters. Also contains a copy of the software license that &quanta; exists under.

About &kde;

  Displays a popup window with information about your running kde, how to report bugs for kde, how to join the effort and more.