TextBuffer textBuffer= change.getPreviewTextBuffer();  EditChange[] changes= change.getTextEditChanges(); for (int i= 0; i < changes.length; i++) { TextRange range= change.getNewTextRange(changes[i]); buf.append("<p>...</p>"); appendContent(textBuffer, range, 1, buf); } if (changes.length > 0) { buf.append("<p>...</p>"); }
TextBuffer previewConent= change.getPreviewTextBuffer(); String currentConentString= change.getCurrentContent();
	public String getAdditionalProposalInfo() {		StringBuffer buf= new StringBuffer();				try {			CompilationUnitChange change= getCompilationUnitChange();			TextBuffer textBuffer= change.getPreviewTextBuffer();			EditChange[] changes= change.getTextEditChanges();					for (int i= 0; i < changes.length; i++) {				TextRange range= change.getNewTextRange(changes[i]);				buf.append("<p>...</p>"); //$NON-NLS-1$				appendContent(textBuffer, range, 1, buf);			}			if (changes.length > 0) {				buf.append("<p>...</p>"); //$NON-NLS-1$			}					} catch(CoreException e) {			JavaPlugin.log(e);		}		return buf.toString();	}