Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Appending to an empty document

Every line is new, and the header says so: the left side contributes no lines, so its start is 0 and its length is 0.

The diff

Context: 2 line(s).

1@@ -0,0 +1,3 @@
2+one
3+two
4+three

The script

property value
inserted lines 3
deleted lines 0
unchanged lines 0
minimal yes

Replaying it on the left document reproduces the right one yes, which is the property that holds even when the script is not minimal.

back