diff options
author | Michael Lindo | 2012-03-02 15:34:20 +0000 |
---|---|---|
committer | Vivian Kong | 2012-03-02 15:34:20 +0000 |
commit | 0e37eb9577832625bd6a71a74cec5fc0304f68d0 (patch) | |
tree | 29ef093530b87d13299b698d645d7ba7cc60a8bc | |
parent | ec1fcd11cb83060dec21e061e450cadb677d0ebd (diff) | |
download | org.eclipse.cdt-0e37eb9577832625bd6a71a74cec5fc0304f68d0.tar.gz org.eclipse.cdt-0e37eb9577832625bd6a71a74cec5fc0304f68d0.tar.xz org.eclipse.cdt-0e37eb9577832625bd6a71a74cec5fc0304f68d0.zip |
Bug 370762 - Adding support for Remote Semantic Highlighting in the
Remote C/C++ Editor
2 files changed, 4 insertions, 4 deletions
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 700ffffad23..e8709f8229a 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 @@ -559,7 +559,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) @@ -571,7 +571,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(); @@ -596,7 +596,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 d08ba3198b8..c838274b050 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 @@ -422,7 +422,7 @@ public class SemanticHighlightingReconciler implements ICReconcilingListener { * @param addedPositions the added positions * @param removedPositions the removed positions */ - private void updatePresentation(TextPresentation textPresentation, List<HighlightedPosition> addedPositions, List<HighlightedPosition> removedPositions) { + protected void updatePresentation(TextPresentation textPresentation, List<HighlightedPosition> addedPositions, List<HighlightedPosition> removedPositions) { Runnable runnable= fJobPresenter.createUpdateRunnable(textPresentation, addedPositions, removedPositions); if (runnable == null) return; |