def on_selection_modified(self, view):
        """ Shows a status message for an error region """

        view.erase_status('glshadervalidator')

        # If we have errors just locate
        # the first one and go with that for the status
        if self.is_glsl_or_essl(view) or self.errors is not None:
            for sel in view.sel():
                for error in self.errors:
                    if error.region.contains(sel):
                        view.set_status('glshadervalidator', error.message)
                        return
dataset/ETHPy150Open WebGLTools/GL-Shader-Validator/GLShaderValidator.py/GLShaderValidatorCommand.on_selection_modified/operator `and` -> `or`