any 3:2 multi-map group: any pairing of the 3 with the 2 is valid, one is shown
all 3:1 all-to-all group: each of the 3 corresponds to the 1
inserted
deleted
updated
moved
click a highlight to reveal its counterpart
This mapping has 1 multi-map group: several pairings are equally correct there. The code view shows one arbitrary valid pairing, not the only one.
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
1use std::fmt::Display;
2
3fn main() {
4 println!("Test output");
5}
6
After
1use std::fmt::{
2Display, Debug
3};
4
5fn main() {
6 println!("Test output");
7}
8
Before
1use std::fmt::Display;
2
3fn main() {
4 println!("Test output");
5}
6
After
1use std::fmt::{
2 Display, Debug
3};
4
5fn main() {
6 println!("Test output");
7}
8
Before
1use std::fmt::Display;
2
3fn main() {
4 println!("Test output");
5}
6
After
1use std::fmt::{
2Display, Debug
3};
4
5fn main() {
6 println!("Test output");
7}
8
Before
source_fileuse_declaration
use "use"
scoped_identifier any 2:1scoped_identifier any 2:1
identifier "std"
:: "::"
identifier "fmt"
:: "::"
identifier "Display"
; ";"
function_item (+21 nodes collapsed)
After
source_fileuse_declaration
use "use"
scoped_use_listscoped_identifier any 2:1
identifier "std"
:: "::"
identifier "fmt"
:: "::"
use_list
{ "{"
identifier "Display"
, ","
identifier "Debug"
} "}"
; ";"
function_item (+21 nodes collapsed)
Keybindings
j / k
next / previous visible node (tree panels)
h / l
collapse / expand the focused node
g / G
jump to first / last visible node
Tab
switch focus between Before/After panels
/
search: jump to next node whose text contains a given string
a
jump the other panel to this node's mapped counterpart
i
hide identical matches, showing only inserted/deleted/updated nodes and their ancestors
v
cycle the view: split / code only / tree only
p
cycle what the code view renders: the node mapping, then each human painting
r
mark this fixture as reviewed, or forget the mark (kept in this browser only)