org.eclipse.cdt.internal.ui.editor
Class SemanticHighlightingManager.HighlightedRange
java.lang.Object
org.eclipse.jface.text.Region
org.eclipse.cdt.internal.ui.editor.SemanticHighlightingManager.HighlightedRange
- All Implemented Interfaces:
- org.eclipse.jface.text.IRegion
- Enclosing class:
- SemanticHighlightingManager
public static class SemanticHighlightingManager.HighlightedRange
- extends org.eclipse.jface.text.Region
Highlighted ranges.
Methods inherited from class org.eclipse.jface.text.Region |
getLength, getOffset |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
SemanticHighlightingManager.HighlightedRange
public SemanticHighlightingManager.HighlightedRange(int offset,
int length,
java.lang.String key)
- Initialize with the given offset, length and highlighting key.
- Parameters:
offset
- length
- key
- the highlighting key as returned by SemanticHighlighting.getPreferenceKey()
getKey
public java.lang.String getKey()
- Returns:
- the highlighting key as returned by
SemanticHighlighting.getPreferenceKey()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class org.eclipse.jface.text.Region
hashCode
public int hashCode()
- Overrides:
hashCode
in class org.eclipse.jface.text.Region