Note: The free version of Kiwi Log Viewer allows up to 2 highlights. The licensed version allows unlimited highlights.
The highlighting options available in Kiwi Log Viewer enable the user to specify a set of highlighting rules which will be applied to the text that is displayed in the main window. Highlighting rules are evaluated from the top-down, and any text which matches a given highlight rule will have the specified highlight-effects applied.
You can show the Highlighting window in the following ways...
·
Click the Options | Highlighting menu
·
Click the Highlighting icon in the toolbar which looks like this:
·
On Windows, press Ctrl-H
·
On Linux, press Ctrl-H
·
On MacOS, press Command-H
The Highlighting window looks like this:
Each rule can be activated/deactivated by checking/unchecking the check boxes on each row of the list.
Highlighting rules can be added/deleted by clicking the buttons on the toolbar to the right of the highlights list. Rule precedence can be changed in this toolbar as well, by clicking the up/down arrows.
String to match:
The string pattern that will be searched for in the row of displayed text.
Regular Expression:
If checked, this option specifies if the string to match is a regular expression. (see Regular Expression Syntax)
You can press the RegExp syntax help button to open the help file to the regular expression syntax topic.
Invert Match:
If checked, this option specifies that the effect will be applied only if a match is NOT found.
Ignore Case:
If checked, the search pattern (string to match) will be treated as case insensitive.
Highlight Effects:
Apply Foreground Color:
If checked, the foreground color selected will be applied, and override any existing foreground color.
If unchecked, the current foreground color will be used.
Apply Background Color:
If checked, the background color selected will be applied, and override any existing background color.
If unchecked, the current background color will be used.
Bold Font:
If checked, the font weight will be bold.
Italic Font:
If checked, the font style will be italicised.
Favorites:
If you are using different highlight settings for each file you are viewing, you may want to save your highlight settings to disk. The Favorites area allows you to save and load your created highlights by name for quick retrieval at a later time.
You can even import and export your highlights to a text file so you can share them with others.
It is also possible to specify which favorite highlights are loaded when the program starts by using command line arguments.
Jumping to a highlighted line in the main window:
When you have enabled highlighting of matched rows, you can quickly jump to the next or previous highlight using the F8 and F7 keys.
To find the next highlighted line, press the F8 key
To find the previous highlighted line, press the F7 key