text sync
Brings the layout of the lines up to date.
PATHNAME sync ?-command SCRIPT?
Description
With no argument, makes the layout of each line current before it returns. With -command, runs SCRIPT at the global level when the layout is current, and returns at once.
Returns
An empty string.
Examples
% text .sy
> .sy insert end hello
> .sy sync
Errors
sync ignores a bad argument.
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1