beetlebug▾
/

text pendingsync

Gives whether the layout of the lines has work to do.

PATHNAME pendingsync

Description

Gives 1 when the text has lines with no current layout, and 0 when the layout is current. sync brings the layout up to date.

Returns

1 or 0.

Examples

% text .pn
> .pn sync
> .pn pendingsync
0

Errors

pendingsync ignores extra arguments.

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also