public void processEvent(ComponentSystemEvent event) throws AbortProcessingException {
UIComponent component = event.getComponent();
AbstractSyntaxHighlighter syntaxhighlighter = (AbstractSyntaxHighlighter) component;
if (event instanceof PostAddToViewEvent) {
syntaxhighlighter.subscribeToPreRenderViewEvent();
} else if (event instanceof PreRenderComponentEvent) {
FacesContext context = FacesContext.getCurrentInstance();
String language = syntaxhighlighter.getLanguage();
if (language != null) {
language = language.toLowerCase();