All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

code-coverage-set-editor-colors Function

Summary

Specifies the colors that the editor uses to color code coverage.

Package

hcl

Signature

code-coverage-set-editor-colors &key counters counters-negative uncovered partially-covered fully-covered hidden-partial error warn eliminated

Arguments
counters
A CAPI color or an editor face.
counters-negative
A CAPI color or an editor face.
uncovered
A CAPI color or an editor face.
partially-covered
A CAPI color or an editor face.
fully-covered
A CAPI color or an editor face.
hidden-partial
A CAPI color or an editor face.
error
A CAPI color or an editor face.
warn
A CAPI color or an editor face.
eliminated
A CAPI color or an editor face.
Description

The function code-coverage-set-editor-colors changes the colors or faces that the editor uses to color code coverage.

Each of the keyword arguments counters, counters-negative, uncovered, partially-covered, fully-covered, hidden-partial, error, warn and eliminated is a CAPI color name, color alias or color specification, or an editor:face object (the result of editor:make-face). See "The Color System" in the CAPI User Guide and Reference Manual for details about CAPI colors.

When an argument value is an editor:face, it specifies the face to use. Otherwise, it specifies the background color to use.

The faces and colors are used to color parts of the code as in code-coverage-set-html-background-colors. Note that code-coverage-set-editor-colors does not accept a :marked keyword argument like code-coverage-set-html-background-colors does.

See also

code-coverage-set-html-background-colors
15 The Color System in the CAPI User Guide and Reference Manual


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35