Sets the language for this code.
        
        :param      language | <str>

def setLanguage(self, language):
        """
        Sets the language for this code.
        
        :param      language | <str>
        """
        cls = XCodeHighlighter.byName(language)
        if cls:
            self._highlighter = cls(self.document())