Difference between revisions of "Documentation:Windows Section 5"
Jholsenback (talk | contribs) m (Protected "Documentation:Windows Section 5" [edit=sysop:move=sysop]) |
Jholsenback (talk | contribs) m (heading changes) |
||
Line 7: | Line 7: | ||
<br> | <br> | ||
<!--</wikitalk>---> | <!--</wikitalk>---> | ||
− | + | ==Menus== | |
<!--<indexentry primary "Menus">---> | <!--<indexentry primary "Menus">---> | ||
Line 17: | Line 17: | ||
</p> | </p> | ||
− | <p> | + | <p>[[Image:WinImgMenusFile.gif|-]]</p> |
− | [[Image:WinImgMenusFile.gif|-]] | ||
− | </p> | ||
<p> | <p> | ||
Line 27: | Line 25: | ||
</p> | </p> | ||
− | ===New File=== | + | ====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 32: | ||
</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 | ||
Line 48: | Line 46: | ||
</p> | </p> | ||
− | ===Close=== | + | ====Close==== |
<!--<indexentry primary "Close File">---> | <!--<indexentry primary "Close File">---> | ||
Line 55: | Line 53: | ||
</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 67: | ||
</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 84: | Line 82: | ||
</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 99: | Line 97: | ||
</p> | </p> | ||
− | ===Older Files=== | + | ====Older Files==== |
<!--<indexentry primary "File Menu, Older Files" "Older Files">---> | <!--<indexentry primary "File Menu, Older Files" "Older Files">---> | ||
<p> | <p> | ||
Line 119: | Line 117: | ||
</p> | </p> | ||
− | <p> | + | <p>[[Image:WinImgMenusEdit.gif|-]]</p> |
− | [[Image:WinImgMenusEdit.gif|-]] | ||
− | </p> | ||
<p class="Note"> | <p class="Note"> | ||
Line 135: | Line 131: | ||
</p> | </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 139: | ||
</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 145: | ||
</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 157: | ||
</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 174: | Line 170: | ||
</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 182: | ||
</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==== |
<!--<indexentry primary "Edit Menu, Selection" "Selection Menu">---> | <!--<indexentry primary "Edit Menu, Selection" "Selection Menu">---> | ||
Line 204: | Line 200: | ||
</p> | </p> | ||
− | <p> | + | <p>[[Image:WinImgSubMenusSelection.gif|-]]</p> |
− | [[Image:WinImgSubMenusSelection.gif|-]] | ||
− | </p> | ||
<p> | <p> | ||
Line 220: | Line 214: | ||
</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 240: | ||
</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 260: | Line 254: | ||
</p> | </p> | ||
− | <p> | + | <p>[[Image:WinImgMenusSearch.gif|-]]</p> |
− | [[Image:WinImgMenusSearch.gif|-]] | ||
− | </p> | ||
− | ===Find=== | + | ====Find==== |
<p> | <p> | ||
Searches the file for the first occurance of a specific string of text and highlights/selects | Searches the file for the first occurance of a specific string of text and highlights/selects | ||
Line 270: | Line 262: | ||
</p> | </p> | ||
− | <p> | + | <p>[[Image:WinImgDialogsFind.gif|-]]</p> |
− | [[Image:WinImgDialogsFind.gif|-]] | ||
− | </p> | ||
− | ===Match Whole Word Only=== | + | =====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 270: | ||
</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 276: | ||
</p> | </p> | ||
− | ===Wildcard Search=== | + | =====Wildcard Search===== |
<p> | <p> | ||
The search string allows the following wildcard characters if the "Wildcard Search" option is | The search string allows the following wildcard characters if the "Wildcard Search" option is | ||
Line 341: | Line 331: | ||
</p> | </p> | ||
− | ===Replace=== | + | ====Replace==== |
<p> | <p> | ||
Searches the file for any occurrences of a specific string of text and replaces them with a | Searches the file for any occurrences of a specific string of text and replaces them with a | ||
Line 347: | Line 337: | ||
</p> | </p> | ||
− | <p> | + | <p>[[Image:WinImgDialogsFindreplace.gif|-]]</p> |
− | [[Image:WinImgDialogsFindreplace.gif|-]] | ||
− | </p> | ||
<p> | <p> | ||
Line 356: | Line 344: | ||
</p> | </p> | ||
− | ===Find Next=== | + | ====Find Next==== |
<p> | <p> | ||
Finds the next occurence of the string specified in the last Find operation. | Finds the next occurence 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 377: | Line 365: | ||
</p> | </p> | ||
− | <p> | + | <p>[[Image:WinImgMenusText.gif|-]]</p> |
− | [[Image:WinImgMenusText.gif|-]] | ||
− | </p> | ||
− | ===Show White Space=== | + | ====Show White Space==== |
<p> | <p> | ||
Indicate where white space is using a dot. Note that this does not affect the file itself, | Indicate where white space is using a dot. Note that this does not affect the file itself, | ||
Line 387: | Line 373: | ||
</p> | </p> | ||
− | ===Set Repeat Count=== | + | ====Set Repeat Count==== |
<p> | <p> | ||
Most editor commands can be automatically repeated a specified number of times. By setting | Most editor commands can be automatically repeated a specified number of times. By setting | ||
Line 394: | Line 380: | ||
</p> | </p> | ||
− | ===Tab Size=== | + | ====Tab Size==== |
<p> | <p> | ||
The Tab size setting only applies to the current file and any subsequently opened files. | The Tab size setting only applies to the current file and any subsequently opened files. | ||
Line 410: | Line 396: | ||
</p> | </p> | ||
− | ===Indent=== | + | ====Indent==== |
<!--<indexentry primary "Text Menu, Indent">---> | <!--<indexentry primary "Text Menu, Indent">---> | ||
− | <p> | + | <p>[[Image:WinImgSubMenusIndent.gif|-]]</p> |
− | [[Image:WinImgSubMenusIndent.gif|-]] | ||
− | </p> | ||
<p> | <p> | ||
Line 420: | Line 404: | ||
</p> | </p> | ||
− | ===Auto-Indent Style=== | + | =====Auto-Indent Style===== |
− | <p> | + | <p>[[Image:WinImgSubMenusAutoindent.gif|-]]</p> |
− | [[Image:WinImgSubMenusAutoindent.gif|-]] | ||
− | </p> | ||
<!--<wikinav>---> | <!--<wikinav>---> | ||
<br> | <br> |
Revision as of 11:18, 27 March 2010
This document is protected, so submissions, corrections and discussions should be held on this documents talk page. |
Menus
File Menu
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.
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 and .INC 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.
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 (this may seem obvious, but we have 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 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 tab, language, and indent settings. The comments in this paragraph also apply to the Older Files menu.
Older Files
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
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.
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
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.
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
The Search Menu, which is only displayed when an edit pane is active, contains commands related to searching for and replacing text.
Find
Searches the file for the first occurance of a specific string of text and highlights/selects it.
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, |
* | 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. |
| | 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 that 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
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.
Find Next
Finds the next occurence 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.
Text Menu
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.
Show White Space
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.
Set Repeat Count
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).
Tab Size
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).
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.
Indent
See the Selection Sub-Menu.
Auto-Indent Style
The Render Window | None |
This document is protected, so submissions, corrections and discussions should be held on this documents talk page. |