def set_lexer_from_mime_type(self, mime, **options):
        self._lexer = get_lexer_for_mimetype(mime, **options)
        _logger().debug('lexer for mimetype (%s): %r', mime, self._lexer)
Check if specified filename can be patched. Returns None if file can
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/modes/pygments_sh.py/PygmentsSH.set_lexer_from_mime_type--crossover with--dataset/ETHPy150Open ensime/ensime-sublime/patch.py/PatchSet.can_patch