# line-scheme(3)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## NAME

line-scheme - Apply line annotation in current buffer

## SYNOPSIS

n line-scheme

## DESCRIPTION

line-scheme applies or removes line hilighting by assignment of the buffer line variable $line-scheme(5). The numerical argument n is the line scheme number to apply to the line or region when omitted (or specified as 1) then any line hilighting is removed.

If a region is defined then the command operates as follows:-

Region contained on a single line

When the region is contained on a single line then this is assumed to be a search string and all lines in the buffer that match the region text are hilighted with the color scheme n.

Region spans multiple lines

When the region spans multiple lines then all of the lines of the region are hilighted with the color scheme n.

line-scheme is typically invoked from the pop-up menu (mouse right) to apply line hilighting annotation to a line or region. The user may select to apply a region hilight, remove the region hilight, remove all hilighting or perform a search using osd-search(3).

## NOTES

line-scheme is a macro implemented in `search.emf`.

## SEE ALSO

delete-hilight-lines(3), osd-search(3), osd(2), $line-scheme(5).

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>