* ruby debugger hotswap inmrovements
* DLTK TCL extensibility mechanism.
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/editor/SemanticHighlightingManager.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/editor/SemanticHighlightingManager.java
index df184ed..e20a886 100644
--- a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/editor/SemanticHighlightingManager.java
+++ b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/editor/SemanticHighlightingManager.java
@@ -478,7 +478,7 @@
fHighlightings[a] = new Highlighting(createTextAttribute(
fColorManager, fPreferenceStore, fSemanticHighlightings[a]
.getPreferenceKey(), fSemanticHighlightings[a]
- .getBackgroundPreferenceKey()), true);
+ .getBackgroundPreferenceKey()), true, fSemanticHighlightings[a]);
}
}
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/editor/semantic/highlighting/Highlighting.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/editor/semantic/highlighting/Highlighting.java
index 96db4fa..c9dbc20 100644
--- a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/editor/semantic/highlighting/Highlighting.java
+++ b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/editor/semantic/highlighting/Highlighting.java
@@ -11,15 +11,18 @@
private TextAttribute fTextAttribute;
/** Enabled state */
private boolean fIsEnabled;
+ private SemanticHighlighting semanticHighlighting;
/**
* Initialize with the given text attribute.
* @param textAttribute The text attribute
* @param isEnabled the enabled state
+ * @param semanticHighlighting
*/
- public Highlighting(TextAttribute textAttribute, boolean isEnabled) {
+ public Highlighting(TextAttribute textAttribute, boolean isEnabled, SemanticHighlighting semanticHighlighting) {
setTextAttribute(textAttribute);
setEnabled(isEnabled);
+ this.semanticHighlighting = semanticHighlighting;
}
/**
@@ -49,4 +52,7 @@
public void setEnabled(boolean isEnabled) {
fIsEnabled= isEnabled;
}
+ public SemanticHighlighting getSemaHighlighting() {
+ return this.semanticHighlighting;
+ }
}
\ No newline at end of file