Trim template objects such as lines when you want to modify them quickly and accurately. Trimming a line object will align it with the selected line.
Trimming only applies to line objects.
Do the following:
The line is trimmed by the difference between the target line and the line you select to trim.
See also
Extending template objects in Template Editor
Formatting template objects with format painter in Template Editor