Document document = new Document(source);
document.setInitialLineDelimiter(StubUtility
.getLineDelimiterUsed(cu.getScriptProject()));
change = new DocumentChange(name, document);
} else {
SourceModuleChange cuChange = new SourceModuleChange(name, cu);
cuChange.setSaveMode(TextFileChange.LEAVE_DIRTY);
change = cuChange;
}
TextEdit rootEdit = new MultiTextEdit();
change.setEdit(rootEdit);