Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1/// <reference path='fourslash.ts'/>
2
3////globalThis./**/
4
5verify.completions({
6 marker: "",
7 unsorted: [
8 completion.globalThisEntry,
…lines 9–18 unchanged (10 lines)

After

1/// <reference path='fourslash.ts'/>
2
3// @lib: es5
4
5////globalThis./**/
6
7verify.completions({
8 marker: "",
9 unsorted: [
…lines 10–20 unchanged (11 lines)

Before

program
comment "/// <reference path='fourslash.ts'/>"
comment "////globalThis./**/"
expression_statement (+138 nodes collapsed)

After

program
comment "/// <reference path='fourslash.ts'/>"
comment "// @lib: es5"
comment "////globalThis./**/"
expression_statement (+138 nodes collapsed)