* @param viewer
* @param preferenceStore
*/
private void format(final SourceViewer sourceViewer, final IPreferenceStore store) {
String contents= loadPreviewContentFromFile("FormatPreviewCode.txt");
FormattingPreferences prefs= new FormattingPreferences();
prefs.setPreferenceStore(store);
CFMLFormattingStrategy formatter = new CFMLFormattingStrategy();
contents = formatter.format(contents, prefs, "", false);
viewer.getDocument().set(contents);
}
};