Way w = virtualWay.way;
Way wnew = new Way(w);
wnew.addNode(virtualWay.lowerIndex + 1, virtualNode);
virtualCmds.add(new ChangeCommand(w, wnew));
}
virtualCmds.add(new MoveCommand(virtualNode, startEN, currentEN));
String text = trn("Add and move a virtual new node to way",
"Add and move a virtual new node to {0} ways", virtualWays.size(),
virtualWays.size());
Main.main.undoRedo.add(new SequenceCommand(text, virtualCmds));
getCurrentDataSet().setSelected(Collections.singleton((OsmPrimitive) virtualNode));