Text Mark
Text Mark sets foreground and background colors for keywords in the receive area, so you can find the content you need in a large amount of data. Each match item can also insert a line break before or after the matched text, which puts the keyword on its own line.
Text Mark settings are also saved by group, and each group is one configuration file.
Open Text Mark
Open the Text Mark panel in the device window to see the execute view. The Edit configuration button (…) at the top of the panel opens the editor.
Manage groups
Groups are managed in the editor the same way as in Quick Send:
- Select group: Choose the group to edit from the drop-down list.
- Refresh: Reload the group list.
- New group: Create a group named "Group 1", "Group 2", and so on.
- Delete group: Delete the current group's configuration file. A confirmation dialog appears first.
- Rename: Edit the group name in the drop-down list and press Enter. The file is renamed to match.
A new group, including the Default group created automatically on first use, starts with two match items:
ERROR: white text on a red backgroundSUCCESS: white text on a green background
Add match items
In the "Add New Text Mark" area of the editor, fill in the fields below, then click Add.
| Field | Description |
|---|---|
| Match text | The text to mark, for example ERROR. When the receive area shows HEX, enter the HEX text, for example 01 03. The input box previews the selected colors |
| Foreground color | The text color. If not chosen, white (#FFFFFF) is used |
| Background color | The background color. If not chosen, green (#4A9D5F) is used |
| Insert line break | "None" inserts no line break. "Insert Before" inserts a line break before the match. "Insert After" inserts a line break after the match |
Items with an empty Match text are not added.
Edit and delete match items
In the item table, double-click the Match text cell to edit it. Use the Foreground and Background buttons in the color column to choose new colors, and use the line break drop-down to change where the line break goes. After a change, the row's Save button becomes enabled. Click it to write the change to the file. Clicking Delete shows a confirmation dialog first.
When you save in the editor while a device is running the group, the program asks whether to stop the running device first.
Run Text Mark
The execute view has the same group drop-down, Select all, Edit, and Refresh controls as Quick Send. Each row in the table is one match item:
- Select: When checked, the match item takes part in marking.
- Match text: Shown in the item's foreground and background colors.
The execute view has three buttons:
| Button | Function |
|---|---|
| Start Real-time Marking | When on, newly received data is marked with the checked match items. While it is on, the button reads "Stop Real-time Marking" |
| Mark All | Marks the text already in the receive area |
| Unmark | Removes all mark colors and the line breaks that marking inserted, so the text returns to its original form |
TIP
Stop Real-time Marking only stops marking new data. Text that is already marked keeps its marks. Unmark removes the existing marks.
Matching rules
- Only checked match items take part in marking.
- A match item with an empty match text cannot be checked.
- When several items share the same match text, only the last one can be checked. The others are disabled.
- Longer match text is processed first. If a shorter match text lies completely inside a longer one, both take effect, and the inner text shows the shorter match's colors. A match that partly overlaps text that is already marked is skipped.
- To keep the interface responsive, one marking pass processes at most about 10,000 matches. Matches beyond that limit are not marked.
Notes
- Text Mark only changes how the receive area looks. It does not change the data you received.
- While real-time marking is on, you cannot switch groups or edit the configuration.
- Line breaks inserted by marking appear only in the display. Use Unmark to remove them.
