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

1if __name__ == "__main__":
2 numer = 12
3 print("Zero")
4

After

1if __name__ == "__main__":
2 numer = 12
3 if numer == 0:
4 print("Zero")
5

Before

module
if_statement
if "if"
comparison_operator
identifier "__name__"
== "=="
string
string_start "\""
string_content "__main__"
string_end "\""
: ":"
block
expression_statement
assignment
identifier "numer"
= "="
integer "12"
expression_statement
call
identifier "print"
argument_list
( "("
string
string_start "\""
string_content "Zero"
string_end "\""
) ")"

After

module
if_statement
if "if"
comparison_operator
identifier "__name__"
== "=="
string
string_start "\""
string_content "__main__"
string_end "\""
: ":"
block
expression_statement
assignment
identifier "numer"
= "="
integer "12"
if_statement
if "if"
comparison_operator
identifier "numer"
== "=="
integer "0"
: ":"
block
expression_statement
call
identifier "print"
argument_list
( "("
string
string_start "\""
string_content "Zero"
string_end "\""
) ")"