Next Previous Contents

10. Functions that work with Hidden Lines

10.1 is_line_hidden

Synopsis

is_line_hidden

Usage

Integer is_line_hidden ();

Description

This function returns a non-zero value if the current line is hidden. It will return zero if the current line is visible.

See Also

set_line_hidden

10.2 set_line_hidden

Synopsis

set_line_hidden

Usage

Void set_line_hidden (Integer flag);

Description

If the parameter flag is non-zero, the current line will be given the hidden attribute. This means that it will not be displayed. If the parameter is zero, the hidden attribute will be turned off.

See Also

set_region_hidden, is_line_hidden

10.3 set_region_hidden

Synopsis

set_region_hidden

Usage

Void set_region_hidden (Integer flag);

Description

This function may be used to hide the lines in a region. If flag is non-zero, all lines in the region will be hidden. If it is zero, the lines in the region will be made visible.

See Also

set_line_hidden, is_line_hidden, skip_hidden_lines_forward

10.4 skip_hidden_lines_backward

Synopsis

skip_hidden_lines_backward

Usage

Void skip_hidden_lines_backward (Integer type);

Description

This function may be used to move backward across either hidden or non-hidden lines depending upon whether the parameter type is non-zero or zero. If type is non-zero, the Point is moved backward across hidden lines until a visible line is reached. If type is zero, visible lines will be skipped instead. If the top of the buffer is reached before the appropriate line is reached, the Point will be left there.

Note: The functions up and down are insensitive to whether or not a line is hidden.

See Also

skip_hidden_lines_forward, is_line_hidden

10.5 skip_hidden_lines_forward

Synopsis

skip_hidden_lines_forward

Usage

Void skip_hidden_lines_forward (Integer type);

Description

This function may be used to move forward across either hidden or non-hidden lines depending upon whether the parameter type is non-zero or zero. If type is non-zero, the Point is moved forward across hidden lines until a visible line is reached. If type is zero, visible lines will be skipped instead. If the end of the buffer is reached before the appropriate line is reached, the Point will be left there.

Note: The functions up and down are insensitive to whether or not a line is hidden.

See Also

skip_hidden_lines_backward, is_line_hidden


Next Previous Contents