diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/SemanticHighlightingManager.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/SemanticHighlightingManager.java index 4eef256b4e1..ee3c9eca6bc 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/SemanticHighlightingManager.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/SemanticHighlightingManager.java @@ -560,7 +560,7 @@ public class SemanticHighlightingManager implements IPropertyChangeListener { return refreshNeeded; } - private void adaptToEnablementChange(HighlightingStyle highlighting, PropertyChangeEvent event) { + protected void adaptToEnablementChange(HighlightingStyle highlighting, PropertyChangeEvent event) { Object value= event.getNewValue(); boolean eventValue; if (value instanceof Boolean) @@ -572,7 +572,7 @@ public class SemanticHighlightingManager implements IPropertyChangeListener { highlighting.setEnabled(eventValue); } - private void adaptToTextForegroundChange(HighlightingStyle highlighting, PropertyChangeEvent event) { + protected void adaptToTextForegroundChange(HighlightingStyle highlighting, PropertyChangeEvent event) { RGB rgb= null; Object value= event.getNewValue(); @@ -597,7 +597,7 @@ public class SemanticHighlightingManager implements IPropertyChangeListener { } } - private void adaptToTextStyleChange(HighlightingStyle highlighting, PropertyChangeEvent event, int styleAttribute) { + protected void adaptToTextStyleChange(HighlightingStyle highlighting, PropertyChangeEvent event, int styleAttribute) { boolean eventValue= false; Object value= event.getNewValue(); if (value instanceof Boolean) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/SemanticHighlightingReconciler.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/SemanticHighlightingReconciler.java index 044615618de..1e8b3eb3133 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/SemanticHighlightingReconciler.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/SemanticHighlightingReconciler.java @@ -425,7 +425,7 @@ public class SemanticHighlightingReconciler implements ICReconcilingListener { * @param addedPositions the added positions * @param removedPositions the removed positions */ - private void updatePresentation(TextPresentation textPresentation, List addedPositions, List removedPositions) { + protected void updatePresentation(TextPresentation textPresentation, List addedPositions, List removedPositions) { Runnable runnable= fJobPresenter.createUpdateRunnable(textPresentation, addedPositions, removedPositions); if (runnable == null) return;