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

1pub mod manage_packets;
2pub mod parse_packets;
3pub mod types;
4

After

1pub mod manage_packets;
2pub mod parse_packets;
3pub mod traffic_preview;
4pub mod types;
5

Before

source_file
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "manage_packets"
; ";"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "parse_packets"
; ";"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "types"
; ";"

After

source_file
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "manage_packets"
; ";"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "parse_packets"
; ";"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "traffic_preview"
; ";"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "types"
; ";"