TreeBuilder builder = new TreeBuilder(previewMode, oldPositionOffset, newPositionOffset);
final FunctionNode rootFunction = builder.build(changeDescription);
return new LiveEditDiffViewer.Input() {
public SourceText getNewSource() {
return new SourceText() {
public String getText() {
return newSource;
}
public String getTitle() {
return Messages.PushResultParser_LOCAL_FILE;
}
};
}
public SourceText getOldSource() {
return new SourceText() {
public String getText() {
return oldSource;
}
public String getTitle() {
return Messages.PushResultParser_SCRIPT_IN_VM;