|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodesteditor.core.util.ModestTextStyleProvider
public class ModestTextStyleProvider
A utility class to get colors and font styles for syntax highlighting.
Constructor Summary | |
---|---|
ModestTextStyleProvider()
Creates a new text style provider. |
Method Summary | |
---|---|
void |
dispose()
Disposes the colors allocated in the constructor. |
org.eclipse.jface.text.TextAttribute |
getDefaultStyle()
Returns the colour and font style for dists in the editor. |
org.eclipse.jface.text.TextAttribute |
getDistStyle()
Returns the colour and font style for dists in the editor. |
org.eclipse.jface.text.TextAttribute |
getKeywordStyle()
Returns the colour and font style for keywords in the editor. |
org.eclipse.jface.text.TextAttribute |
getMultiLineCommentStyle()
Returns the colour and font style for comments in the editor. |
org.eclipse.jface.text.TextAttribute |
getSingleLineCommentStyle()
|
org.eclipse.jface.text.TextAttribute |
getTypeStyle()
Returns the colour and font style for typedefs in the editor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModestTextStyleProvider()
Method Detail |
---|
public void dispose()
public org.eclipse.jface.text.TextAttribute getMultiLineCommentStyle()
public org.eclipse.jface.text.TextAttribute getSingleLineCommentStyle()
public org.eclipse.jface.text.TextAttribute getKeywordStyle()
public org.eclipse.jface.text.TextAttribute getTypeStyle()
public org.eclipse.jface.text.TextAttribute getDistStyle()
public org.eclipse.jface.text.TextAttribute getDefaultStyle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |