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

2004-12-21 Alain Magloire

Fix PR 81635 patch form Przemek
	* src/org/eclipse/cdt/internal/ui/editor/CEditor.java
This commit is contained in:
Alain Magloire 2004-12-21 19:37:59 +00:00
parent b69b32768f
commit 3d9e0a2190
2 changed files with 4 additions and 6 deletions

View file

@ -1,3 +1,7 @@
2004-12-21 Alain Magloire
Fix PR 81635 patch form Przemek
* src/org/eclipse/cdt/internal/ui/editor/CEditor.java
2004-12-20 Alain Magloire
Fix PR 50578
* src/org/eclipse/cdt/internal/ui/cview/CViewDropAdapter.java

View file

@ -517,11 +517,6 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IS
}
final CSourceViewer sourceViewer = (CSourceViewer) getSourceViewer();
if (sourceViewer != null)
{
sourceViewer.unconfigure();
}
if (fSelectionUpdateListener != null) {
getSelectionProvider().addSelectionChangedListener(fSelectionUpdateListener);
fSelectionUpdateListener = null;
@ -1023,7 +1018,6 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IS
fOverviewRuler,
isOverviewRulerVisible(),
fileType);
sourceViewer.configure(getSourceViewerConfiguration());
fSourceViewerDecorationSupport =
new SourceViewerDecorationSupport(sourceViewer, fOverviewRuler, fAnnotationAccess, sharedColors);