The Text editor workspace
Application
Use the Text editor workspace to create and edit text files.
Related topics
- File types
- Displaying text files in the Document workspace
Description of function
The Text editor workspace is available in the Editor operating mode.
By default, the control opens the following file types in the Text editor workspace:
- Text files, such as *.txt
Example: measuring logs output with FN 16
- Format files, such as *.a
Example: format file for FN 16
Outputting text formatted with FN 16: F-PRINT
Refer to your machine manual.
In the machine parameter standardEditor (no. 102902), the machine manufacturer defines the default editor to be used for the file types (e.g., the Text editor).
Select the Open in text editor function in the context menu of the Files operating mode to open any file type in the Text editor workspace.
Icons in the Text editor workspace
The following icons are shown in the Text editor workspace:
Icon or shortcut | Meaning |
---|---|
| Open and close the Search column |
Show or hide the Line number | |
Activate or deactivate the Line break When activating the Line break, the control will automatically add line breaks in the text. The control adapts the text length to the workspace size. The text is not truncated, but wraps to the next line, as indicated by the missing line number in the first line. | |
Show or hide the Formatting characters If you show formatting characters, the control will replace blanks with symbols, such as dots, for the space characters. |
If you show formatting characters, the control will display the following icons:
Icon | Meaning |
---|---|
Blank space | |
Tabulator When you press the TAB key during text entry, the control will insert a blank up to the next tab stop (the maximum is a whole tab width). The tab width can be defined in the editor settings. | |
End of line The control indicates the line end by an LF symbol. If Line break is active, the text contents of a text line may be distributed to several lines, depending on the workspace width. This symbol indicates the actual end of the text line. Tip The control also supports the CR LF or CR line ends, which might be included in transmitted files. The line break behavior is always identical, independent of which symbol is displayed. |
NC editor settings
In the NC editor settings window, you can influence contents shown in the Text editor workspace as well as the control's behavior there. The selected settings are modally effective.
The General information area
The General information area contains the following settings:
Setting | Meaning |
---|---|
Automatic saving | Save changes made to the file automatically or manually If this toggle switch is active, the control will save the file automatically when you do the following:
If the toggle switch is not active, you must save manually. Upon the stated actions, the control asks whether the changes should be saved. |
Replace tabs with blanks | If this toggle switch is active, the control will insert a predefined number of blanks instead of a tab character. |
Tab width | Number of characters or number of blanks for a tab until the tab stop Tip If you change the width, the control will also change the width of the existing tabs. If you inserted blanks instead of a tab character, the control will not update their number after a change of the width. |
Notes
- If you mark characters through touch operation, the control displays two marker symbols below the cursor.
- In order to avoid undesired edits to a file, open it in the Document workspace.