Difference between revisions of "Documentation:Windows Section 5"

From POV-Wiki
Jump to navigation Jump to search
 
m (added tag admonishment)
 
(32 intermediate revisions by 4 users not shown)
Line 7: Line 7:
 
<br>
 
<br>
 
<!--</wikitalk>--->
 
<!--</wikitalk>--->
===Menus===
+
==Menus==
<!--<indexentry primary "Menus">--->
+
{{#indexentry:Menus}}
  
 
===File Menu===
 
===File Menu===
<!--<indexentry primary "Menus, File Menu" "File Menu">--->
+
{{#indexentry:Menus, File Menu}}
 
+
<!--BEGIN DO NOT alter or move--->
<p>
+
{{#indexentry:File Menu}}
The File Menu contains commands that, in general, relate to loading and saving files.
+
<!--END DO NOT alter or move--->
 +
<table class="centered" width="700x" cellpadding="0" cellspacing="10">
 +
<tr>
 +
  <td>
 +
    [[Image:win-filemenu.png|center|223px<!--left--->]]
 +
  </td>
 +
  <td>
 +
    <p>The File Menu contains commands that, in general, relate to loading and saving files.</p>
 +
    <p class="Note"><strong>Note:</strong> In the interest of brevity, we will not explain <em>obvious</em> file menu entries. We
 +
assume that all readers will understand <em>Save</em>, <em>Save As</em>, etc., as these are basic Windows knowledge issues.
 
</p>
 
</p>
 +
  </td>
 +
</tr>
 +
<tr>
 +
  <td>
 +
    <p class="caption">The File Menu</p>
 +
  </td>
 +
  <td></td>
 +
</tr>
 +
</table>
  
<p>
+
====New File====
[[Image:WinImgMenusFile.gif|-]]
 
</p>
 
 
 
<p>
 
<b>NOTE:</b> In the interest of brevity, we will not explain 'obvious' file menu entries. We
 
assume that all readers will understand 'Save', 'Save As', etc., as these are basic Windows
 
knowledge issues.
 
</p>
 
 
 
===New File===
 
 
<p>
 
<p>
 
This creates a new file in a new window in the internal editor. The language type will be set  
 
This creates a new file in a new window in the internal editor. The language type will be set  
Line 34: Line 42:
 
</p>
 
</p>
  
===Open File===
+
====Open File====
 
<p>
 
<p>
 
This creates a new window in the internal editor and opens the specified file in it. POV-Ray  
 
This creates a new window in the internal editor and opens the specified file in it. POV-Ray  
will attempt to set the language type according to the extension. .POV and .INC files are  
+
will attempt to set the language type according to the extension. .POV, .INC, .MAC and .MCR files are  
 
assumed to be POV-Ray files and will have POV syntax highlighting. If you use a different file  
 
assumed to be POV-Ray files and will have POV syntax highlighting. If you use a different file  
 
extension for POV source code, you can set the language type manually after you open it.
 
extension for POV source code, you can set the language type manually after you open it.
Line 48: Line 56:
 
</p>
 
</p>
  
===Close===
+
====Close====
<!--<indexentry primary "Close File">--->
 
 
 
 
<p>
 
<p>
 
This closes the file open in the currently-selected internal editor.
 
This closes the file open in the currently-selected internal editor.
 
</p>
 
</p>
  
===Close All===
+
====Close All====
 
<p>
 
<p>
 
This closes all files currently open in the internal editor.
 
This closes all files currently open in the internal editor.
 
</p>
 
</p>
  
===Print===
+
====Print====
 
<p>
 
<p>
 
Provides a dialog that allows selection of printing options for the currently selected editor  
 
Provides a dialog that allows selection of printing options for the currently selected editor  
Line 69: Line 75:
 
</p>
 
</p>
  
===Exit===
+
====Exit====
 
<p>
 
<p>
 
This option lets you exit POV-Ray for Windows. If you have Save Settings on Exit selected,  
 
This option lets you exit POV-Ray for Windows. If you have Save Settings on Exit selected,  
Line 78: Line 84:
 
If you shut down your computer without exiting POV-Ray for Windows first, POV-Ray will load  
 
If you shut down your computer without exiting POV-Ray for Windows first, POV-Ray will load  
 
itself again next time you log in as the same user. Note that we do not recommend shutting
 
itself again next time you log in as the same user. Note that we do not recommend shutting
down your computer without saving any edited files first (this may seem obvious, but we have
+
down your computer without saving any edited files first - while the editor will attempt to
had at least one complaint from a user who did this ...). While the editor will attempt to
 
 
do the right thing with unsaved files during a shutdown, to a great extent it is at the mercy
 
do the right thing with unsaved files during a shutdown, to a great extent it is at the mercy
 
of the operating system.
 
of the operating system.
 
</p>
 
</p>
  
===MRU List===
+
====MRU List====
 
<p>
 
<p>
 
The MRU (most recently used) file list holds up to nine (9) files. The Older Files menu (see  
 
The MRU (most recently used) file list holds up to nine (9) files. The Older Files menu (see  
Line 95: Line 100:
 
and moved to the top of the MRU list. Otherwise, it is opened and moved to the top of the  
 
and moved to the top of the MRU list. Otherwise, it is opened and moved to the top of the  
 
list. The MRU list remembers several things about files, including the last line, column, and  
 
list. The MRU list remembers several things about files, including the last line, column, and  
top line number, plus the tab, language, and indent settings. The comments in this paragraph  
+
top line number, plus the language and indent settings. The comments in this paragraph  
 
also apply to the Older Files menu.
 
also apply to the Older Files menu.
 
</p>
 
</p>
  
===Older Files===
+
====Older Files sub-menu====
<!--<indexentry primary "File Menu, Older Files" "Older Files">--->
+
{{#indexentry:File Menu, Older Files}}
 +
{{#indexentry:Older Files Menu}}
 
<p>
 
<p>
 
After files have scrolled off the bottom of the MRU (Most Recently Used) list that appears at  
 
After files have scrolled off the bottom of the MRU (Most Recently Used) list that appears at  
Line 109: Line 115:
  
 
===Edit Menu===
 
===Edit Menu===
<!--<indexentry primary "Edit Menu" "Menus, Edit Menu">--->
+
{{#indexentry:Edit Menu}}
 
+
{{#indexentry:Menus, Edit Menu}}
<p>
+
<table class="centered" width="660x" cellpadding="0" cellspacing="10">
The Edit Menu contains commands relating to altering, cutting, copying, and pasting text.
+
<tr>
Note that there are actually <b>two</b> edit menus, though you only ever see one at a time.
+
  <td>
These are the edit menu that is displayed when the message window is selected, and the edit
+
    [[Image:win-editmenu.png|center|214px<!--left--->]]
menu that is displayed when any of the editor windows are selected. The contents are different
+
  </td>
since the windows have different functions.
+
  <td>
</p>
+
    <p>The Edit Menu contains commands relating to altering, cutting, copying, and pasting text. Note that there are actually <strong>two</strong> edit menus, though you only ever see one at a time. These are the edit menu that is displayed when the message window is selected, and the edit menu that is displayed when any of the editor windows are selected. The contents are different since the windows have different functions.</p>
 
+
  </td>
<p>
+
</tr>
[[Image:WinImgMenusEdit.gif|-]]
+
<tr>
</p>
+
  <td>
 +
    <p class="caption">The Edit Menu</p>
 +
  </td>
 +
  <td></td>
 +
</tr>
 +
</table>
  
 
<p class="Note">
 
<p class="Note">
<b>Note</b>: The Message Window shortcut keys for Cut, Copy, etc. have been changed to the  
+
<strong>Note</strong>: The Message Window shortcut keys for Cut, Copy, etc. have been changed to the  
 
newer Ctrl-C, Ctrl-V style. The old shortcuts (Ctrl-Ins etc.) will still work, however, even  
 
newer Ctrl-C, Ctrl-V style. The old shortcuts (Ctrl-Ins etc.) will still work, however, even  
 
though they're not shown in the menu.
 
though they're not shown in the menu.
Line 131: Line 142:
 
<p>
 
<p>
 
The shortcut keys assigned when the Editor Windows are selected are set according to your  
 
The shortcut keys assigned when the Editor Windows are selected are set according to your  
preferences. See the &quot;<!--<linkto "Configuring the Internal Editor">Configuring the Internal Editor</linkto>--->[[Documentation:Windows Section 2#Configuring the Internal Editor|Configuring the Internal Editor]]&quot;
+
preferences. See the <!--<linkto "Configuring the Internal Editor">Configuring the Internal Editor</linkto>--->[[Documentation:Windows Section 2#Configuring the Internal Editor|Configuring the Internal Editor]] section for more information as to how to do this.</p>
section for more information as to how to do this.
 
</p>
 
  
===Copy Pane===
+
====Copy Pane====
 
<p>
 
<p>
 
This command lets you copy all the text currently displayed in the POV-Ray window to the  
 
This command lets you copy all the text currently displayed in the POV-Ray window to the  
Line 143: Line 152:
 
</p>
 
</p>
  
===Clear Messages===
+
====Clear Messages====
 
<p>
 
<p>
 
Clears all messages in the Message Window. This command only appears if the currently  
 
Clears all messages in the Message Window. This command only appears if the currently  
Line 149: Line 158:
 
</p>
 
</p>
  
===Undo===
+
====Undo====
 
<p>
 
<p>
 
This command, and the remaining ones, only appear if the current window is an editor
 
This command, and the remaining ones, only appear if the current window is an editor
Line 161: Line 170:
 
</p>
 
</p>
  
===Redo===
+
====Redo====
 
<p>
 
<p>
 
Redoes the last change undone with Undo. Can only be used immediately following an Undo  
 
Redoes the last change undone with Undo. Can only be used immediately following an Undo  
Line 169: Line 178:
 
</p>
 
</p>
  
===Cut===
+
====Cut====
 
<p>
 
<p>
 
Deletes the selected text and places it on the clipboard.
 
Deletes the selected text and places it on the clipboard.
 
</p>
 
</p>
  
===Copy===
+
====Copy====
 
<p>
 
<p>
 
Places the selected text on the clipboard.
 
Places the selected text on the clipboard.
 
</p>
 
</p>
  
===Paste===
+
====Paste====
 
<p>
 
<p>
 
Inserts text from the clipboard, overwriting any selected text. If no text is selected,
 
Inserts text from the clipboard, overwriting any selected text. If no text is selected,
Line 186: Line 195:
 
</p>
 
</p>
  
===Delete===
+
====Delete====
 
<p>
 
<p>
 
Deletes the selected text.
 
Deletes the selected text.
 
</p>
 
</p>
  
===Select All===
+
====Select All====
 
<p>
 
<p>
 
Selects all text in the current window.
 
Selects all text in the current window.
 
</p>
 
</p>
  
===Selection===
+
====Selection sub-menu====
<!--<indexentry primary "Edit Menu, Selection" "Selection Menu">--->
+
{{#indexentry:Edit Menu, Selection}}
 +
{{#indexentry:Selection Menu}}
 +
<p>The Selection sub-menu contains commands which relate to operations on blocks of selected text. If there is no text selected in the editor, all of these commands will be disabled.</p>
  
<p>
+
<table class="centered" width="700px" cellpadding="0" cellspacing="10">
The Selection sub-menu contains commands which relate to operations on blocks of selected
+
<tr>
text. If there is no text selected in the editor, all of these commands will be disabled.
+
  <td>
</p>
+
    [[Image:win-selectionmenu.png|center|420px<!--centered--->]]
 
+
  </td>
<p>
+
</tr>
[[Image:WinImgSubMenusSelection.gif|-]]
+
<tr>
</p>
+
  <td>
 +
    <p class="caption">The Selection sub-menu</p>
 +
  </td>
 +
</tr>
 +
</table>
  
<p>
+
<p>See <!--<linkto "Using the Mouse">Using the Mouse</linkto>--->[[Documentation:Windows Section 2#Using the Mouse|Using the Mouse]] for a description of the various ways you can select text (including full line blocks, stream blocks, and column blocks).</p>
See <!--<linkto "Using the Mouse">Using the Mouse</linkto>--->[[Documentation:Windows Section 2.1#Using the Mouse|Using the Mouse]] for a description of the various
 
ways you can select text (including full line blocks, stream blocks, and column blocks).
 
</p>
 
  
===Indent===
+
=====Indent=====
 
<p>
 
<p>
 
Inserts a tab (or spaces, depending on your tab settings) at the beginning of the  
 
Inserts a tab (or spaces, depending on your tab settings) at the beginning of the  
Line 220: Line 232:
 
</p>
 
</p>
  
===Indent To Previous===
+
=====Indent To Previous=====
 
<p>
 
<p>
 
Moves the caret to the position of the next text on the previous line.
 
Moves the caret to the position of the next text on the previous line.
 
</p>
 
</p>
  
===Undent===
+
=====Undent=====
 
<p>
 
<p>
 
Removes one level of indent from the beginning of the selected lines.
 
Removes one level of indent from the beginning of the selected lines.
 
</p>
 
</p>
  
===Uppercase===
+
=====Uppercase=====
 
<p>
 
<p>
 
Converts all alphabetical characters in the selected text to uppercase.
 
Converts all alphabetical characters in the selected text to uppercase.
 
</p>
 
</p>
  
===Lowercase===
+
=====Lowercase=====
 
<p>
 
<p>
 
Converts all alphabetical characters in the selected text to lowercase.
 
Converts all alphabetical characters in the selected text to lowercase.
 
</p>
 
</p>
  
===Convert Spaces To Tabs===
+
=====Convert Spaces To Tabs=====
 
<p>
 
<p>
 
Converts sequences of space characters to tabs.  (Note: The tab size can
 
Converts sequences of space characters to tabs.  (Note: The tab size can
Line 246: Line 258:
 
</p>
 
</p>
  
===Convert Tabs To Spaces===
+
=====Convert Tabs To Spaces=====
 
<p>
 
<p>
 
Converts tabs to sequences of space characters.  (Note: The editor does
 
Converts tabs to sequences of space characters.  (Note: The editor does
Line 254: Line 266:
  
 
===Search Menu===
 
===Search Menu===
<!--<indexentry primary "Search Menu" "Menus, Search Menu">--->
+
{{#indexentry:Menus, Search Menu}}
<p>
+
{{#indexentry:Search Menu}}
The Search Menu, which is only displayed when an edit pane is active, contains commands
+
<table class="centered" width="660x" cellpadding="0" cellspacing="10">
related to searching for and replacing text.
+
<tr>
</p>
+
  <td>
 +
    [[Image:win-searchmenu.png|center|230px<!--left--->]]
 +
  </td>
 +
  <td>
 +
    <p>The Search Menu, which is only displayed when an edit pane is active, contains commands related to searching for and replacing text.</p>
 +
  </td>
 +
</tr>
 +
<tr>
 +
  <td>
 +
    <p class="caption">The Search Menu</p>
 +
  </td>
 +
  <td></td>
 +
</tr>
 +
</table>
  
<p>
+
====Find dialog====
[[Image:WinImgMenusSearch.gif|-]]
+
<table class="centered" width="660x" cellpadding="0" cellspacing="10">
</p>
+
<tr>
 +
  <td>
 +
    [[Image:win-finddialog.png|center|372px<!--left--->]]
 +
  </td>
 +
  <td>
 +
    <p>Searches the file for the first occurrence of a specific string of text and highlights/selects it.</p>
 +
  </td>
 +
</tr>
 +
<tr>
 +
  <td>
 +
    <p class="caption">The Find Dialog</p>
 +
  </td>
 +
  <td></td>
 +
</tr>
 +
</table>
  
===Find===
+
=====Match Whole Word Only=====
<p>
 
Searches the file for the first occurance of a specific string of text and highlights/selects
 
it.
 
</p>
 
 
 
<p>
 
[[Image:WinImgDialogsFind.gif|-]]
 
</p>
 
 
 
===Match Whole Word Only===
 
 
<p>
 
<p>
 
If this option is checked, partial matches will not occur (for example, the search string
 
If this option is checked, partial matches will not occur (for example, the search string
Line 280: Line 309:
 
</p>
 
</p>
  
===Match Case===
+
=====Match Case=====
 
<p>
 
<p>
 
If this option is checked, then the case of the search string and the searched-for text will
 
If this option is checked, then the case of the search string and the searched-for text will
Line 286: Line 315:
 
</p>
 
</p>
  
===Wildcard Search===
+
=====Wildcard Search=====
 
<p>
 
<p>
 
The search string allows the following wildcard characters if the &quot;Wildcard Search&quot; option is
 
The search string allows the following wildcard characters if the &quot;Wildcard Search&quot; option is
Line 335: Line 364:
 
</table>
 
</table>
  
<p class="BeAware">
+
<p class="BeAware"><strong>Be Aware:</strong> The wildcard search facility does have some bugs in it and may not always match
Be aware that the wildcard search facility does have some bugs in it and may not always match
+
correctly (e.g. <code>[0-9A-Za-z]</code> will match all alphanumerics, but <code>[A-Za-z0-9]</code> does not match numbers, even though it should).
correctly (e.g. <code>[0-9A-Za-z]</code> will match all alphanumerics, but <code>[A-Za-z0-9]</code>
 
does not match numbers, even though it should).
 
 
</p>
 
</p>
  
===Replace===
+
====Replace====
<p>
+
<table class="centered" width="660x" cellpadding="0" cellspacing="10">
Searches the file for any occurrences of a specific string of text and replaces them with a
+
<tr>
different string.
+
  <td>
</p>
+
    [[Image:win-replacedialog.png|center|372px<!--left--->]]
 
+
  </td>
<p>
+
  <td>
[[Image:WinImgDialogsFindreplace.gif|-]]
+
    <p>Searches the file for any occurrences of a specific string of text and replaces them with a different string. Users of other programmer's editors should note that there is no means of back-referencing wildcard groups from the search expression during a replace operation.</p>
</p>
+
  </td>
 
+
</tr>
<p>
+
<tr>
Users of other programmer's editors should note that there is no means of back-referencing  
+
  <td>
wildcard groups from the search expression during a replace operation.
+
    <p class="caption">The Replace Dialog</p>
</p>
+
  </td>
 +
  <td></td>
 +
</tr>
 +
</table>
  
===Find Next===
+
====Find Next====
 
<p>
 
<p>
Finds the next occurence of the string specified in the last Find operation.
+
Finds the next occurrence of the string specified in the last Find operation.
 
</p>
 
</p>
  
===Match Brace===
+
====Match Brace====
 
<p>
 
<p>
 
Finds and highlights/selects the other brace for the block of code enclosed by the brace at the
 
Finds and highlights/selects the other brace for the block of code enclosed by the brace at the
Line 367: Line 397:
 
matching '}', taking into account the nesting of any '{}' blocks between them. Note that this
 
matching '}', taking into account the nesting of any '{}' blocks between them. Note that this
 
also works in reverse.
 
also works in reverse.
</p>
 
 
===Text Menu===
 
<!--<indexentry primary "Text Menu" "Menus, Text Menu">--->
 
 
<p>
 
The Text Menu contains options and operations that act on text which is displayed in the editor.
 
It is only displayed when an editor pane is chosen.
 
</p>
 
 
<p>
 
[[Image:WinImgMenusText.gif|-]]
 
</p>
 
 
===Show White Space===
 
<p>
 
Indicate where white space is using a dot. Note that this does not affect the file itself,
 
just how it is shown on the screen.
 
</p>
 
 
===Set Repeat Count===
 
<p>
 
Most editor commands can be automatically repeated a specified number of times. By setting
 
the repeat count, you cause the next editor command you issue to be repeated that number
 
of times (this includes caret positioning using the keyboard).
 
</p>
 
 
===Tab Size===
 
<p>
 
The Tab size setting only applies to the current file and any subsequently opened files.
 
Changing the tab spacing for one file does not automatically change it for all the
 
other files that are already open. The tab setting you choose is stored with the MRU list, so
 
if you re-open a file from the MRU, the old setting comes back (for that file only).
 
</p>
 
 
<p>
 
Note that the new value you apply to the tab setting becomes the default for any file opened
 
or created after that point (apart from those in the MRU list). So if you change the tab
 
setting to, say, 3, the setting for the current file changes, but not that of any other open
 
file. Any new file that you create or load from that point, however, will be created with a
 
default tab spacing of 3.
 
</p>
 
 
===Indent===
 
<!--<indexentry primary "Text Menu, Indent">--->
 
<p>
 
[[Image:WinImgSubMenusIndent.gif|-]]
 
</p>
 
 
<p>
 
See the <!--<linkto "Selection Menu">Selection Sub-Menu</linkto>--->[[Documentation:Windows Section 5#Selection|Selection Sub-Menu]].
 
</p>
 
 
===Auto-Indent Style===
 
<p>
 
[[Image:WinImgSubMenusAutoindent.gif|-]]
 
 
</p>
 
</p>
 
<!--<wikinav>--->
 
<!--<wikinav>--->
Line 430: Line 404:
 
[[Documentation:Windows Section 4#The Render Window|The Render Window]]</td>
 
[[Documentation:Windows Section 4#The Render Window|The Render Window]]</td>
 
<td width=50% bgcolor=#EEEEEF align=right>
 
<td width=50% bgcolor=#EEEEEF align=right>
[[Documentation:Windows Section 5.1#None|None]]</td></tr>
+
[[Documentation:Windows Section 5.1#Text Menu|Text Menu]]</td></tr>
 
</table>
 
</table>
 
<!--</wikinav>--->
 
<!--</wikinav>--->

Latest revision as of 13:05, 16 December 2016

This document is protected, so submissions, corrections and discussions should be held on this documents talk page.


Menus

File Menu

win-filemenu.png

The File Menu contains commands that, in general, relate to loading and saving files.

Note: In the interest of brevity, we will not explain obvious file menu entries. We assume that all readers will understand Save, Save As, etc., as these are basic Windows knowledge issues.

The File Menu

New File

This creates a new file in a new window in the internal editor. The language type will be set to 'none', so unless you change this from the editor properties, syntax highlighting will not occur until you do a Save As.

Open File

This creates a new window in the internal editor and opens the specified file in it. POV-Ray will attempt to set the language type according to the extension. .POV, .INC, .MAC and .MCR files are assumed to be POV-Ray files and will have POV syntax highlighting. If you use a different file extension for POV source code, you can set the language type manually after you open it.

Note that POVWIN will not let you load more than one copy of the same file. If you attempt to load an already-loaded file, that file will be selected as the current file in the editor, but nothing else will happen.

Close

This closes the file open in the currently-selected internal editor.

Close All

This closes all files currently open in the internal editor.

Print

Provides a dialog that allows selection of printing options for the currently selected editor file (does not work with the message window). You can even choose two-up printing (that is, printing two pages on a single sheet of paper by splitting it down the middle). Note that the printing will not reflect any colored syntax highlighting in the editor; printing is always done in monochrome.

Exit

This option lets you exit POV-Ray for Windows. If you have Save Settings on Exit selected, your current POV-Ray for Windows settings will be saved for your next session.

If you shut down your computer without exiting POV-Ray for Windows first, POV-Ray will load itself again next time you log in as the same user. Note that we do not recommend shutting down your computer without saving any edited files first - while the editor will attempt to do the right thing with unsaved files during a shutdown, to a great extent it is at the mercy of the operating system.

MRU List

The MRU (most recently used) file list holds up to nine (9) files. The Older Files menu (see above) holds up to 32 additional files. After a file scrolls off the bottom of the MRU list it goes into the top of the Older Files menu.

When you select a file from the MRU list, if it is already open in the editor, it is selected and moved to the top of the MRU list. Otherwise, it is opened and moved to the top of the list. The MRU list remembers several things about files, including the last line, column, and top line number, plus the language and indent settings. The comments in this paragraph also apply to the Older Files menu.

Older Files sub-menu

After files have scrolled off the bottom of the MRU (Most Recently Used) list that appears at the bottom of the File Menu, they will appear in the Older Files menu. The MRU list holds up to nine (9) files, the Older Files menu holds up to 32 additional files. If there are no files in the Older Files menu (such as when POV-Ray is initially installed), it will be disabled.

Edit Menu

win-editmenu.png

The Edit Menu contains commands relating to altering, cutting, copying, and pasting text. Note that there are actually two edit menus, though you only ever see one at a time. These are the edit menu that is displayed when the message window is selected, and the edit menu that is displayed when any of the editor windows are selected. The contents are different since the windows have different functions.

The Edit Menu

Note: The Message Window shortcut keys for Cut, Copy, etc. have been changed to the newer Ctrl-C, Ctrl-V style. The old shortcuts (Ctrl-Ins etc.) will still work, however, even though they're not shown in the menu.

The shortcut keys assigned when the Editor Windows are selected are set according to your preferences. See the Configuring the Internal Editor section for more information as to how to do this.

Copy Pane

This command lets you copy all the text currently displayed in the POV-Ray window to the clipboard. From there you can paste it into any text file for modification with a text editor or word processor. This can be particularly useful for bug reporting. Note: This command only appears if the currently selected window is the Messages window.

Clear Messages

Clears all messages in the Message Window. This command only appears if the currently selected window is the Messages window.

Undo

This command, and the remaining ones, only appear if the current window is an editor window.

The Undo command 'undoes' (reverses or remedies) the last change made to the text. Consecutive Undo operations can be used to revert to earlier and earlier text. The editor keeps seperate Undo and Redo histories for each open file.

Redo

Redoes the last change undone with Undo. Can only be used immediately following an Undo operation; editing the text will erase the Redo history. Consecutive Redo operations are possible if consecutive Undo operations were performed. The editor keeps seperate Undo and Redo histories for each open file.

Cut

Deletes the selected text and places it on the clipboard.

Copy

Places the selected text on the clipboard.

Paste

Inserts text from the clipboard, overwriting any selected text. If no text is selected, the pasted text is inserted at the current caret position, even if the editor is in overwrite mode.

Delete

Deletes the selected text.

Select All

Selects all text in the current window.

Selection sub-menu

The Selection sub-menu contains commands which relate to operations on blocks of selected text. If there is no text selected in the editor, all of these commands will be disabled.

win-selectionmenu.png

The Selection sub-menu

See Using the Mouse for a description of the various ways you can select text (including full line blocks, stream blocks, and column blocks).

Indent

Inserts a tab (or spaces, depending on your tab settings) at the beginning of the selection on each line. You must have multiple lines and/or a newline selected, or the selected text will be replaced by a tab instead.

Indent To Previous

Moves the caret to the position of the next text on the previous line.

Undent

Removes one level of indent from the beginning of the selected lines.

Uppercase

Converts all alphabetical characters in the selected text to uppercase.

Lowercase

Converts all alphabetical characters in the selected text to lowercase.

Convert Spaces To Tabs

Converts sequences of space characters to tabs. (Note: The tab size can be set under the Text menu.)

Convert Tabs To Spaces

Converts tabs to sequences of space characters. (Note: The editor does this automatically by default. This behavior can be turned off in the Language/Tabs section of the Editor Preferences.)

Search Menu

win-searchmenu.png

The Search Menu, which is only displayed when an edit pane is active, contains commands related to searching for and replacing text.

The Search Menu

Find dialog

win-finddialog.png

Searches the file for the first occurrence of a specific string of text and highlights/selects it.

The Find Dialog

Match Whole Word Only

If this option is checked, partial matches will not occur (for example, the search string 'Persist' will not find the word 'Persistence', whereas normally it would).

Match Case

If this option is checked, then the case of the search string and the searched-for text will be the same.

Wildcard Search

The search string allows the following wildcard characters if the "Wildcard Search" option is checked -

? Matches any single character
+ Matches one or more of the previous character or item (which may be a wildcard

or group), up to a maximum of the end of the line. For example, ?+ will match from the next character to the end of the line, and [0-9.]+ will match any number, with or without a decimal point.

* This operator works like '+' above, but matches zero or more rather than one or more.

Put another way, it makes the previous character or item optional.

[] Characters enclosed in square brackets will be treated as an inclusive set.

Character ranges may be specified with a '-' (e.g. [a-c] would match the characters 'a', 'b', or 'c').

| Subexpressions may be ORed together with the | pipe symbol.
() A wildcard expression may be enclosed within parentheses and will be treated as a unit.
Sequences such as \t, etc. will be substituted for an equivalent single character.

To represent a literal backslash, use two (e.g. \\).

Be Aware: The wildcard search facility does have some bugs in it and may not always match correctly (e.g. [0-9A-Za-z] will match all alphanumerics, but [A-Za-z0-9] does not match numbers, even though it should).

Replace

win-replacedialog.png

Searches the file for any occurrences of a specific string of text and replaces them with a different string. Users of other programmer's editors should note that there is no means of back-referencing wildcard groups from the search expression during a replace operation.

The Replace Dialog

Find Next

Finds the next occurrence of the string specified in the last Find operation.

Match Brace

Finds and highlights/selects the other brace for the block of code enclosed by the brace at the caret. For example, if you had the edit caret on a '{' character, it would be moved to the matching '}', taking into account the nesting of any '{}' blocks between them. Note that this also works in reverse.


The Render Window Text Menu


This document is protected, so submissions, corrections and discussions should be held on this documents talk page.