Edit menu
Use the options on the Edit menu to manipulate, search for, and control the display of text within ConfigPost.
Undo
Use this menu option to reverse text editing actions in the active window.
This option is available only when a window is active.
Redo
Use this menu option to redo actions you have undone.
This option is available only when a window is active.
Cut
Use this menu option to remove selected text from the active window and place it on the clipboard.
Copy
Use this menu option to copy selected text from the active window onto the clipboard.
Paste
Use this menu option to paste copied text from clipboard to the active window.
Select All
Use this menu option to select all text in the active window.
Find
Use this menu option to display the Find dialog.
Find in Window
Use this tab to search for text in the active window.
The following settings are available:
Find What — Enter the text you want to find in the Post file. If you select text in the editor window before opening the Find dialog, the selected text is displayed in this field.
Match case — Select this option to restrict the search to finding text that matches the combination of upper- and lower-case characters used in the Find What field.
Show Search Results in Separate Window — This option enables you to output search results to the Search Results window. If this option is deselected, the matching text is highlighted in the editor window.
The matching result is displayed in Search Results dialog:
Find in All Formats
Use this option to perform a search throughout the loaded post processor file.
The following settings are available:
Find What — Enter the text you want to find in the Post file. If you select text in the editor window before opening the Find dialog, the selected text is displayed in this field.
Match case — Select this option to restrict the search to finding text that matches the combination of upper- and lower-case characters used in the Find What field.
Search in Mill Formats — Select this option to restrict the search to the Mill Formats only. Mill Formats can be found in the Configure Mill menu.
Search in Turn Formats — Select this option to restrict the search to the Turn Formats only. Turn Formats can be found in the Configure Turn menu.
If you double-click on the entry in the Search Results dialog the corresponding window will be open and the line where matching Find What string was found will be highlighted.
Right-click the Search Results window to display the context menu. The following options are available:
View In Notepad — Use this option to see the results of search in the Notepad file named Search_Results.dat
.
Close Search Results — Use this option to close the Search Results window.
Replace
Use this menu option to display the Replace dialog.
The Replace dialog performs Search and Replace operations only in the active window.
Find What — Enter the text you want to find in the active window.
Replace With — Enter the text with which you want to replace the text in the Find What field.
Match case — Select this option to restrict the search to finding text that matches the combination of upper- and lower-case characters used in the Find What field.
Find Next — Click this button to find the next occurrence of the text entered in Find What field.
Replace — Click this button to replace the currently selected text and find the next occurrence of the text.
Replace All — Click this button to replaces all occurrences of the text entered in the Find What field by the text entered in the Replace With field.
Insert
Use the options on the Edit > Insert menu to insert the following reserved words or standard blocks of text:
Selected Word
<eob>
<IF>...<THEN>
<IFNOT>...<THEN>
Selected Word
Use this option to insert the reserved word currently selected in the list of the reserved words to the active window at the current cursor position.
<eob>
Use this option to insert <eob>
to the active window at the current cursor position.
<IF>...<THEN>
Use this option to insert the IF-THEN-ENDIF logical block to the active window at the current cursor position, and highlight the dots.
<IFNOT>...<THEN>
Use this option to insert the IFNOT-THEN-ENDIF logical block to the active window at the current cursor position, and highlight the dots.
Display Control
Use the options on the Edit > Display Control menu to control the display of text within ConfigPost.
Refresh
Use this option to refresh the text in the active window. When ConfigPost refreshes the text in the active window, it first checks the syntax, then it indents the text based on the IF/IFNOT-THEN-ENDIF conditional statements, performs Logical Indent Text (if Logical Indent Text is selected), and removes any empty lines.
You can also click the Refresh button on the ConfigPost toolbar.
Logical Indent Text
Use this option to indent the text in all windows based on the IF/IFNOT-THEN-ENDIF conditional statements. All lines under IF/IFNOT statements are shifted to the right. An ENDIF statement closes the logical block and is aligned with the previous IF/THEN statement.
You can also click the Logical Indent Text button on the ConfigPost toolbar.
Example of Logical Indent:
Example of Nested Logical Indent:
Left Justified Text
Use this option to enable left justified text indenting. The text is aligned at the left edge of the window.
You can also click the Left Justified Text button on the ConfigPost toolbar.
Example of Left Justified Text:
<IF><eq-string>(<tool-post>,GANG)
<THEN> ~<spindle-on>M81<eob>
<IFNOT><cw-spindle>
<THEN> ~<spindle-on>M80<eob>
<ENDIF>
<ENDIF>
Check Syntax
Use this option to check the validity of entered text.
You can also click the Check Syntax button on the ConfigPost toolbar.
The most common user errors are:
- Mismatched Parenthesis.
- Misspelled reserved word.
- Missing IF, IFNOT, THEN, ENDIF.
ConfigPost will issue an error, bring the window where error found in front and highlight the text (if possible).
Invert Colors
Use this option to invert the colors in the editor between:
- white background with black font; and,
- black background with white font.
You can also click the Invert Colors button on the ConfigPost toolbar.
Hide/Show Reserved Words
Use this option to show or hide the list of reserved words on the right side of every window.
You can also click the following buttons on the ConfigPost toolbar:
To Hide Reserved Words:
To Show Reserved Words: