19.10.8 Highlighting search terms found in topics

When you click a link in the OmniHelp search results list, by default each term found in the target topic is highlighted in yellow.

To turn off search-term highlighting, or change the style:

[OmniHelpOptions]
; UseSearchHighlight = Yes (default, highlight search terms found)
;  or No
UseSearchHighlight=Yes
; SearchHighlightStyle = style to use in span to highlight search
;  terms found
SearchHighlightStyle=background-color:yellow;

The highlighting style consists of one or more CSS property:value pairs, each followed by a semicolon. Consult a CSS reference for possible styles.

Previous Topic:  19.10.7 Using regular expressions in search

Next Topic:  19.11 Setting up CSH for OmniHelp

Parent Topic:  19.10 Configuring full-text search for OmniHelp

Sibling Topics:

19.10.1 Understanding how OmniHelp FTS works

19.10.2 Generating search data

19.10.3 Supporting search for non-ANSI text

19.10.4 Specifying length of search terms

19.10.5 Excluding search terms

19.10.6 Excluding content from being searched

19.10.7 Using regular expressions in search