1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-20 01:10:49 +00:00
parent c82cbe55fb
commit c10ca12cd3
2 changed files with 3 additions and 3 deletions

View file

@ -1323,7 +1323,7 @@ public class PDOMManager implements IWritableIndexManager, IListener {
} }
/** /**
* computes a map from projects to a collection containing the minimal * Computes a map from projects to a collection containing the minimal
* set of folders and files specifying the selection. * set of folders and files specifying the selection.
*/ */
private Map<ICProject, List<ICElement>> splitSelection(ICElement[] tuSelection) { private Map<ICProject, List<ICElement>> splitSelection(ICElement[] tuSelection) {

View file

@ -1387,14 +1387,14 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
getDocumentProvider().connect(input); getDocumentProvider().connect(input);
try { try {
// uninstall & unregister preference store listener // Uninstall & unregister preference store listener
getSourceViewerDecorationSupport(sourceViewer).uninstall(); getSourceViewerDecorationSupport(sourceViewer).uninstall();
((ISourceViewerExtension2) sourceViewer).unconfigure(); ((ISourceViewerExtension2) sourceViewer).unconfigure();
setPreferenceStore(createCombinedPreferenceStore(input)); setPreferenceStore(createCombinedPreferenceStore(input));
updateScalabilityMode(input); updateScalabilityMode(input);
// install & register preference store listener // Install & register preference store listener
sourceViewer.configure(getSourceViewerConfiguration()); sourceViewer.configure(getSourceViewerConfiguration());
getSourceViewerDecorationSupport(sourceViewer).install(getPreferenceStore()); getSourceViewerDecorationSupport(sourceViewer).install(getPreferenceStore());