Edit menu
Here are the commands for using the text editor built into RadiaCode. The commands in this menu apply to the currently active Editor window.
| Icon | Command | Description |
|---|---|---|
| Return | Cancels the last text editing operation in this window. The number of steps that the Undo function covers is set in the “Configuration” menu in the “Editor options” tab of the “Editor options”. |
| Copy block | Copies the selected block to the clipboard. The text format in the buffer is standard, making this block accessible to other programs. |
| Remove block | Deletes the selected block and copies it to the clipboard. |
| Insert block | Copies a block from the clipboard starting at the cursor. If the block to be copied was placed on the clipboard from the RadiaCode program, the block type will remain unchanged (line, vertical, or streaming). Blocks from other applications will be of the standard streaming type. |
| Clipboard history / Repository | Opens the Clipboard History / Repository |
| Add block to clipboard | Copies the selected block of text and appends it to the current clipboard contents. |
| Remove the block and add it to the clipboard | Removes the highlighted block and appends it to the end of the current clipboard contents. |
| Text search | Opens the "Text Search". |
| Repeat search | Repeats the search using the same parameters as the previous search. |
| “Find / Replace text” dialog box | Opens the "Find / Replace text". |
| “Display search results by file” | Repeatedly displays search results across multiple files in the “Display search results by file”. |
| Go to the line with the specified number | Opens the “Display from a new line”. The original text will be displayed starting from the specified line. |
| Set tab | Opens the "Set tab" dialog box for local tabs. |
| Restore tab | Opens the "Restore Tab" dialog box for local tabs. |
| Compact text mode | Switch to Condensed text mode.. |
| Condensed mode configuration | Opens the "Condensed Mode Setup". |
| Find the matching pair for the bracket/comment | Finds a matching bracket or comment tag for a bracket or tag at the cursor position. If a match is found, the cursor will move to it. The brackets can be: round ( or ), square [ or ], and curly { or }. Tags can be /* or */. |
| Restore the editing context | Activates the “Editor” window from the previous edit and places the cursor at the last edit location. If this “Editor” window was closed, RadiaCode will reopen it. During debugging, you often need to switch between multiple files. This command allows you to quickly return to the last edit location. |
| User scripts | Additional menu for accessing text editing automation functions. |
“Search for Text” Dialog Box
The dialog box sets the search parameters for the text phrase in the files. The parameters in this dialog box and the “Find / Replace text” dialog box are equivalent. You can specify file names with one or more wildcard characters. You can also specify a path along with the file name. Additionally, you can search several files at once using the options in the "Multi-file search results" panel.
| Dialog Item | Description |
|---|---|
Search bar | Specifies a text fragment to search for (search line). |
Match case | Enables letter case matching. It is disabled by default. |
Only complete words | Search for whole words only: a line will be considered found only if it is surrounded by punctuation marks or delimiters (spaces, tabs, commas, quotation marks, etc.). This option is disabled by default. |
Regular expressions | Indicates that the line you are searching for is the search expression. It is disabled by default. |
Entire area | Search the entire file. Enabled by default. |
Selected text only | Search only within the selected text. |
From the cursor position | Begin searching from the current cursor position. |
Entire scope | Search from the beginning or end of the file, depending on the search direction. Enabled by default. |
Conduct a multi-file search and replace | Enables searching through multiple project files (see notes below). If the checkbox is unchecked, the search will be performed only in the active “Editor” window. |
Search using wildcards | Contains a wildcard or wildcards for file names to search through. If there are multiple wildcards, they should be separated by semicolons. To specify long names as accepted by Windows, you do not need to use quotation marks. Example: *.txt;*.c;c:\prog\*.h. |
Search within subdirectories | Search within subdirectories of all folders specified by wildcards. |
Initial path | Begin the search from the folder you specify here. This folder acts as a shared path and is useful when you need to replace several wildcards of the following type: c:\prog\text\source\*.txt;c:\prog\text\source\*.doc In this situation, use wildcards (*.txt;*.doc) and a shared path (c:\prog\text\source). |
If you initiate a search in a file opened in the Editor window, the search will occur in the window buffer, not in the file on disk.
“Find/Replace Text” dialog box
The dialog box allows you to set search parameters for text phrases within files. The parameters in this dialog box are equivalent to those in the “Find/Replace text” dialog box. You can specify file names using one or more wildcard characters and include a path with the file name. Additionally, you can search multiple files simultaneously using the options in the "Multi-file search results" panel.
| Dialog Item | Description |
|---|---|
Search bar | Specifies a text fragment to search for (search line). |
Replace with | Replaces the specified text fragment with the one found. |
Match case | Enables letter case matching. It is disabled by default. |
Whole words only | Search for whole words only: a line will be considered found only if it is surrounded by punctuation marks or delimiters (spaces, tabs, commas, quotation marks, etc.). This option is disabled by default. |
Regular expressions | Indicates that the line you are searching for is the search expression. It is disabled by default. |
Confirm replacement | Opens the “Confirm replacement” dialog box to verify the replacement of the found text fragment. Enabled by default. |
Entire area | Search the entire file. Enabled by default. |
Selected text only | Search only within the selected text. |
From the cursor position | Search starting from the current cursor position. |
Entire scope | Search from the beginning or end of the file, depending on the search direction. Enabled by default. |
Conduct a multi-file search and replace | Allows searching through multiple project files (see notes below). If the checkbox is unchecked, the search will be conducted only in the active “Editor” window. |
Search wildcards | Contains a wildcard or wildcards for file names to search through. If there are multiple wildcards, they should be separated by semicolons. To specify long names as accepted by Windows, you do not need to use quotation marks. Example: *.txt;*.c;c:\prog\*.h. |
Search in subdirectories | Search within subdirectories of all folders specified by wildcards. |
Initial path | Begin the search from the folder you specify here. This folder acts as a shared path and is useful when you need to replace several wildcards of the following type: c:\prog\text\source\*.txt;c:\prog\text\source\*.doc In this case, use wildcards (*.txt;*.doc) and a shared path. (c:\prog\text\source). |
Search | Replaces the first occurrence of the specified line. |
“Replace all” | Replace all instances of the searched line that are found. |
- When you initiate a search in a file opened in the Editor window, the search will be conducted in the window buffer, not in the file on disk.
- If you search through multiple files, the "Confirm replacement" dialog box will appear at the end of the search.
"Confirm Replacement" Dialog Box
This dialog requests confirmation to replace the located instance of the searched line. To enable or disable this dialog box, use the “Confirm replacement” checkbox in the “Find / Replace text” section.
| The “Add File” | Function |
|---|---|
Yes | Replace the specified instance of the line you are searching for. |
No | Do not replace. If the procedure was initiated with the “Replace all” button for all found lines in the search area, the search and replacement process will continue. |
Non-Stop | From now on, replace all lines found in this file without asking for confirmation. |
Cancel | Stops the search and replace process. |
Skip this file | Stop searching this file and proceed to the next one. |
Replace in all files | Replace all lines found in other files without asking for confirmation. |
Move the cursor to the “Yes/No” buttons | When this checkbox is selected, the cursor will automatically move to the “Yes” button in each request to confirm the replacement, simplifying the process. |
“Multi-file search results” dialog box
This dialog box shows search results across multiple files. Learn more about searching through multiple files in the chapter “Text search.”
The file list, where a line is found, contains all files in which the line appears: the file name is on the left and its folder is on the right. The line with the green text directly below this list displays information about the file selected in the list. The entry “File in memory” indicates that the file is open in the “Editor”. If this line shows general data about the file (according to the file system), it means that this file is not loaded into memory. The “Line” panel shows the line of the source file containing the fragment you are looking for.
The “Sort files by” switch box determines the sorting method. When the “Consider directory” checkbox is selected, the files in the list will be sorted by their folders.
The “Add file” “Edit” button opens the selected file in a new “Editor” window and places the cursor on the line with the found fragment. The found fragment will be highlighted with a background color. To check for other instances of the searched fragment in this file, press Ctrl+R or use the “Editor” menu, “Repeat search”.
The “Add file” “Close” button closes the dialog box, but the search results are not lost. To reopen this dialog box, use the “Show search results by file” button on the “Editor” toolbar, Shift+F5, or the “Editor” menu. In this case, the files in the “File list” where a line is found, opened in the “Editor” windows, are marked with an asterisk on the left.
Regular expressions
The text editor supports what are known as "regular expressions," which can be used for special text strings. Regular expressions include control characters within the searched text string:
| Symbol | Description |
|---|---|
? | Represents any character in that position. For example, if you search for '?ell', words like 'bell', 'tell', 'cell', etc., will be found. |
% | Indicates the start of a line. The characters following “%” should begin at position 1. Example: %Counter—locate the word “Counter” that begins at the first position in the line. |
$ | Line end. Characters preceded by "$" should be at the end of the line. Example: Counter$—locate the word “Counter” at the end of the lines. |
@ | Directly find a character; the “@” symbol allows you to set control characters as regular letters. Example: Use '@?' to find the question mark. |
\xNN | Hexadecimal value of the symbol. Example: \xA7—find a character with the hexadecimal code A7. |
+ | An unspecified number of units of the preceding character. For instance, if you specify 1T+2, the editor will locate lines containing '1' followed by '2', with any number of 'T' letters in between. |
[c1-c2] | Matches any character between c1 and c2. Example: [A-Z] means any letter from A to Z. |
[~c1-c2] | Matches any character that is not between c1 and c2, meaning from 0 to c1–1 or from c2+1 to 255. For example, [~A-Z] means any character except uppercase letters. |
text1|text2 | The symbol “|” represents a logical OR, and the editor will search for either text1 or text2. Example: LPT|COM|CON—Find “LPT” or “COM” or “CON.” |
Remember to check the corresponding checkbox in the dialog box to use regular expressions.
“Set tab/Restore tab” dialog boxes
Bookmarks allow you to return to a marked cursor position in the source file at a later time. There are local and global tabs. Local tabs are valid within a single file, while global bookmarks store both the cursor position and the file name.
You can define and use up to 10 local bookmarks with these dialogs. Each local bookmark is assigned a unique button with a number.
To open the “Set bookmark” dialog box, press Alt+[. To open the “Restore bookmark” dialog box, press Alt+]. To set a bookmark or navigate to it, click its numbered button. The line number where the bookmark is set, the bookmark's position in the line (in brackets), and the line's text are displayed to the right of the button.
Local bookmarks are saved in the configuration file, allowing you to access them in the next session.
The “Add file” button opens the corresponding dialog box, “Set/Restore global bookmark.”
“Set/Restore Global Tab” dialog boxes
Bookmarks allow you to return to a marked cursor position in the source file at a later time. There are local and global tabs. Local tabs are valid within a single file, while global bookmarks store not only the cursor position but also the file name.
When you navigate to a global bookmark and the corresponding source file is not open in the “Editor,” RadiaCode opens it and places the cursor at the position marked by the bookmark.
The “Add file” option removes the selected bookmark from the list.
Global bookmarks are saved in the configuration file and can be accessed in the next session.
Condensed text mode
In Condensed text mode, only lines that meet the specified criteria are displayed in the window. There are two criteria in total:
- The string must include a specified fragment (sequence of characters).
- The first non-space character in the line must be in the specified position.
Examples: (a) if the first criterion and the “counter” fragment are set, only lines containing the word “counter” will be displayed; (b) if the second criterion is set at position 4, only lines with text starting at position 4 will be displayed.
The condensed text mode "combines" strings with a common attribute. For example, if you strictly follow the rule of starting data declarations at position 2, procedures at position 3, and interrupt handlers at position 4, then the condensed text mode will significantly speed up the search for the desired ad. If you comment on certain sections of the text with the same character string and use the condensed text mode with the specified fragment, this style helps you easily find the necessary parts of the text. In the condensed text mode, you can move the cursor just as you would in the normal mode.
How to control
The criterion for displaying lines is set in the “Condensed text mode options” within the Condensed mode setup. To enable or disable condensed text mode, use the “Editor” menu command, the “Condensed text mode” button on the “editor” toolbar, or the F11 key. To exit condensed text mode, press Esc. When you exit this mode, the cursor returns to its previous position. To keep the cursor in the row where you placed it when exiting the mode, press “Enter” or start editing the line.
“Condensed mode setup” dialog box
This dialog box controls the condensed text mode options in the “Editor.”
“Display lines of text” switch box sets one of the two available criteria:
- “Containing string” configures the display of lines containing the text fragment specified in the text field. Additionally, you can check the case of letters, search only for whole words, or use regular expressions.
- “Where the first non-blank column is...” determines the display of lines where the text (the first character not being a space) begins at the position specified in the “Column” field. Mandatory parameters further define the criterion:
- “Equal to” means the first character of the text must be exactly at the specified position. For example, if the 2nd position is set, the window will display only the lines where the text starts at the 2nd position.
- “Not equal to” the first character of the text must be in any position other than the specified one. For example, if the 2nd position is set, the window will display only lines where the text does NOT start from the 2nd position.
- “Less than” displays only lines where the text starts from a position lower than the specified one.
- “Greater than” display only lines, where the text starts from a position greater than the specified one.
After clicking “OK”, the “Editor” window switches to the condensed text mode.
Clipboard history / Repository
| Dialog Item | Description |
|---|---|
Clipboard history | List of records on the clipboard since the start of RadiaCode, records are collected regardless of the applications, from which they were copied. The clipboard history is lost after exiting RadiaCode. |
Paste | Paste the selected text into the active “Editor” window. |
Max records in history | The maximum number of records that can be stored in the clipboard history. When the maximum number of records is reached, the oldest record is deleted. |
Do not memorize records more than | Sets the maximum size of a text block that can be written to the clipboard history. If the size of the block to be written exceeds the set size, the writing of that block will be ignored. |
Clipboard repository | A clipboard repository is a persistent set of clipboard records (blocks of text) represented as a tree. You can add records to the repository for later use. Records can be arranged as “branches” (“folders”). Use “drag and drop” operations to organize “folders” and records. |
Paste | Paste the text of the selected repository record into the active “Editor” window. |
Add branch | Add a “branch” (“folder”) to the active repository record. |
Remove branch / item | Delete the selected branch or record. |
Edit | Edit the name of the selected branch. |
Move up | Move the selected branch or record up the tree. |
Move down | Move the selected branch or record down the tree. |
“Editor” toolbar
At the “Editor” toolbar, there are buttons for the main editing operations, which correspond to the “Editor” menu commands. Almost all buttons are available only when the “Editor” window is active. Information messages sent by the editor are duplicated in the editor information panel.
The editor toolbar commands are represented by several icons (Copy Block, Find Text, Set Bookmark, etc.). You can adjust the commands to your convenience. After that, only the buttons you select will be visible.
To select the “Environment” dialog box you should right-click on the empty right side of the top panel. In the popup window, select Customize... You can access the “Environment” dialog box (via the “Configure” menu). In the right panel of the dialog box, you can mark which buttons on the Editor toolbar you need for your work.
Aktualisiert: 9. Jan. 2026