mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
c82cbe55fb
commit
c10ca12cd3
2 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue