menu bar

Menus

A Pe edit window can have six to eight menus. Two are optional: the Extensions menu only shows up when Pe was able to find extensions during launching, and the BeIDE menu can be switched off with the Preferences Panel.

The File Menu

The File menu contains the following items:

  • New will create a new document.
  • New Group will create a new Group Window.
  • Open... brings up the default Open File Panel.
  • Open from Server... brings up the Open from Server dialog. You can use this dialog to navigate the directories on a remote FTP server and open a file from this server.
  • Open Selection tries to open the file whose name is selected in the edit window. If you have nothing selected it will bring up a dialog where you can type a file name. Pe will then try to find the file in several directories, depending on the settings in the Preferences Panel.
  • Open Recent contains a submenu where the most recently opened docs are recorded. The nr. of files displayed can be changed in the Prefences Panel.
  • Close closes the document.
  • Save saves the document.
  • Save As... brings up the default Save File Panel where you can give the document a new name
  • Save on Server... brings up the Save on Server dialog that you can use to save the current file on a remote FTP server.
  • Save a Copy As... also brings up this Save File Panel, but when the file is saved the window still displays the originally opened document, and not the one just saved. Revert discards all changes made to the document since the last time it was saved.
  • Quit quits Pe.
  • There are no printing items in this menu as yet. I'm waiting with implementing printing until the printing architecture in BeOS is fixed.

    The Edit Menu

    The Edit menu contains the following items:

  • Undo/Redo xxx undoes/redoes the action named xxx. Pe has unlimited undo.
  • Cut, Copy, Paste, Clear all work as expected.
  • Select All and Select Line also do what you would expect them to.
  • The Text Menu

    The Text menu contains the following items:

  • Balance tries to find the closest matching pairs of either parenthesis "()", brackets "[]" or curly brackets "{}". This is especially useful for programmers.
  • Twiddle reverses characters depending on the position of the Caret:
  • When the Caret is between two characters, the character before the Caret is swapped with the one after the Caret.
  • When the Caret is at the end of a line, the two characters just before the end of the line are swapped.
  • Similarly, when the Caret is at the beginning of a line, the two characters at the beginning of the line are swapped.
  • When there is a selection, all the characters are reversed in their order.
  • Change Case has a submenu containing several options to change the casing of either the selected text or the entire document.
  • Change Encoding brings up a dialog where you can choose two character sets: the set to encode from and the set to encode to. This is useful for converting UTF-8 encoded documents to ISO encoded documents for use on a Website.
  • Shift Left/Right shifts the selected text one tab to the left or right.
  • Comment/Uncomment comments or uncomments the selected lines with language dependent comment characters.
  • Insert Linebreaks will put a line break character after each softwrap.
  • Remove Linebreaks will remove the line break characters from the selected text. It also removes leading white space.
  • Show in browser launches your favourite browser and sends it for display to the current document.
  • The Search Menu

    The Search Menu contains the following items: (See the section on Searching for more info on the extended searching capabilities of Pe. There are also a lot of custom keybindings available for searching, see the Keybinding Preferences for more details)

  • Find... brings up the Find Dialog.
  • Find Again tries to find the next occurrence of the find string entered in the Find Dialog.
  • Find Selection enters the selected text in the Find Dialog and tries to find the next occurrence.
  • Enter Search String enters the selected text in the Find Dialog.
  • Replace replaces the currently-found text with the replace string.
  • Replace & Find Replaces the currently-found text with the replace string and tries to find the next occurrence.
  • Replace All replaces all occurrences in the current file with the replace string.
  • Jump to Next Error searches the file for the next occurrence of
    File "/a/path/to/a/file"; Line 12
    and opens the file and selects the line.
  • Go To Line... brings up a dialog where you can enter the line number of the line to which you want to move next.
  • The Extensions Menu

    The Extensions Menu contains all the Extensions Pe was able to find when it was launched. See Add-Ons for more info on this subject.

    The Window Menu

    The Window Menu contains the following items:

  • File Options... brings up the same dialog as when you click the blue "i" button in the toolbar. Use this dialog to change options such as font family and style, font size, character encoding, line breaks, whether or not to use syntax colouring, show tabs or show invisibles.
  • Preferences brings up the Preferences Dialog.
  • Working Directory brings up an Open File Panel with which you can choose a directory. This directory will be the current directory for the next command you will issue from this window.
  • Stack and Tile arrange the windows on screen.
  • Zoom zooms the front window.
  • Worksheet opens the default worksheet for Pe.
  • Any other item displayed here is the name of an open window. Choose it to bring the corresponding window to the foreground.
  • The Help Menu

    The Help Menu contains the following items:

  • Help... launches your favourite browser and displays these docs.
  • About... brings up a window where you can see copyright and other interesting information about this program.
  • The BeIDE Menu

    The BeIDE menu is optional. You can turn it on on the Connections page in the preferences dialog. This menu contains the following items:

  • Bring to Front which activates Metrowerks BeIDE
  • Add File adds the current file to the currently opened project
  • Remove File removes the current file from the currently opened project
  • Project -> Group opens a Group Window filled with all the files in the currently opened project.
  • Make tells BeIDE to do a Make.
  • Next item in this manual is Editing.


    Last updated: 09/10/98
    Copyright 1997,1998, © Hekkelman Programmatuur,
    info@hekkelman.com