Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate

Barry MacDonnell's
Toolbox for WordPerfect

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2017 by Barry MacDonnell. All Rights Reserved.

Page updated Sep 2, 2009

HILITERL - Add highlighting to redlined text

Download HILITERL.ZIP (v1.12; 07/08/08; 22,860 bytes)

Compatible with WordPerfect 8 and later versions

WordPerfect 11 users: See important information about using macros in the first release of WP11 ( at the top of this page.

Downloading, Documentation, Modifications, and Support

This macro adds highlighting to all redlined text found in the document. It optionally prints the document and then removes the highlighting it added to the redline.

This is one way to darken redlined text.

Why use it?

On some black-and-white printers redlined text (including Inserted/Deleted text used in File, Document Compare/Review) shows up on the printed page

  • in a very faint gray color, or
  • with a faint gray background (something like this).

Here are a couple of ways to deal with this problem.

1. Adjust WordPerfect's printer settings

If printed redline text shows up as standard or slightly faded text, it may be because of the following problem. From Corel's Knowledge Base (for WP10, but it may apply to other versions):

"The printer driver installed on your computer determines the display style of printed redline text. Each printer type can produce printed redline text differently. However, in most cases you can configure a print job to display redline text against a shaded gray background.

To display printed redline text -

1 Click File > Print.
2 Click the Advanced tab.
3 In the Advanced options area, disable the Print in color check box.
4 Click Print."

If this doesn't work, try HiLiteRL.

2. Use the HiLiteRL macro

This macro adds highlighting on top of all redlined text, optionally prints the document, then removes the highlighting (only) that it added in the first stage. This should produce the desired result on a b&w printer.

[Note: You can adjust the color of the highlighting -- which can affect the intensity of the gray color on the printout -- and several menu defaults. See the instructions at the top of the macro's code.]

Other highlighting — that is, any existing highlighting that was not imposed on top of redlined text — will remain unaffected, because during the cleanup stage the macro code searches for [Highlight][Redln] and [Redln][Highlight] code pairs and removes only the Highlight codes at those locations. However, see the second note below.

Notes and known limitations

  • If you have Document Review or Document Compare turned on, adding highlighting with this macro will be seen as insertions by WordPerfect, and each new [Highlight] code will be bracketed with two [Insertion] codes! This is likely to cause the macro some confusion.

    Solution: It is best to turn Review/Compare off before playing the macro.

  • If you have previously applied highlighting to part of a redlined string of characters, the macro will not restore the original highlighting to that string. It cannot find such split codes like these two [Redln] codes (as might be seen in Reveal Codes):

    This is a [Highlight]test[Highlight] sentence[Redln]

    The [Redln][Highlight] and [Highlight][Redln] pairs of codes on each side of the affected text must be contiguous; that is, there should not be any characters or other codes between the two codes in each pair, such as are shown in the above example. (The paired codes can be in either order, [Redln][Highlight] or [Highlight][Redln].)

    Solution: Simply close the document without saving the changes made to it by the macro.
  • The macro cannot change redline that may have been applied to a style (e.g., Heading 2).