Function ScreenMark() Foundation

Searches strings on the screen and marks them with a color attribute.

Syntax
ScreenMark( <cSearchString>        , ;  // Type:  C
            <cColorAttr|nColorAttr>, ;  // Type: CN
            <lCaseSensitive>       , ;  // Type:  L
            [<lAllStringsFound>]   , ;  // Type:  L   Default: .F.
            [<cPreDelimiter>]      , ;  // Type:  C   Default: ""
            [<cPostDelimiter>]       ;  // Type:  C   Default: ""
          ) --> lFound
Description

If <lAllStringsFound> is set .T. all occurrances of <cSearchString> visible on the screen are marked with the specified color attribute.

The parameters <cPreDelimiter> and <cPostDelimiter> are lists of characters that may serve as delimiters for words. For example, if the word "BASE" is to be marked only as a complete word and not as a substring like in "XBASE++" a blank space can be specified as pre- and post delimiter (more precisely: the return value of GetClearB() is to be used since this character clears a screen).

Note: The cursor position remains unchanged when calling ScreenMark().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.