Search in sources :

Example 1 with XMLTagDamageRepairScanner

use of com.cubrid.tool.editor.xml.scanner.XMLTagDamageRepairScanner in project cubrid-manager by CUBRID.

the class XMLConfiguration method getXMLTagScanner.

/**
	 * Retrieves the XML Tag Scanner.
	 * 
	 * @return tagScanner
	 */
protected RuleBasedScanner getXMLTagScanner() {
    if (tagScanner == null) {
        tagScanner = new XMLTagDamageRepairScanner(colorManager);
        tagScanner.setDefaultReturnToken(new Token(new TextAttribute(colorManager.getColor(IXMLColorConstants.ATTR))));
    }
    return tagScanner;
}
Also used : TextAttribute(org.eclipse.jface.text.TextAttribute) Token(org.eclipse.jface.text.rules.Token) XMLTagDamageRepairScanner(com.cubrid.tool.editor.xml.scanner.XMLTagDamageRepairScanner)

Aggregations

XMLTagDamageRepairScanner (com.cubrid.tool.editor.xml.scanner.XMLTagDamageRepairScanner)1 TextAttribute (org.eclipse.jface.text.TextAttribute)1 Token (org.eclipse.jface.text.rules.Token)1