Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)

src/s/u/SublimeLinter3-HEAD/commands.py   SublimeLinter3(Download)
        # Otherwise wrap to the first/last error line unless settings disallow that.
        if region_to_select is None and ((len(regions) > 1 or not regions[0].contains(point))):
            if persist.settings.get('wrap_find', True):
                region_to_select = regions[0] if direction == 'next' else regions[-1]
 
 
        if persist.settings.has_setting(args['setting']):
            setting = persist.settings.get(args['setting'], None)
            return setting is not None and setting is not args['value']
        else:
    def is_checked(self, **args):
        """Return True if the setting should be checked."""
        if args.get('checked', False):
            setting = persist.settings.get(args['setting'], False)
            return setting is True
                persist.settings.set(args['setting'], args['value'], changed=True)
        else:
            setting = persist.settings.get(args['setting'], False)
            persist.settings.set(args['setting'], not setting, changed=True)
 
    def setting_value(self, matching=False):
        """Return the current value of the setting."""
        return self.transform_setting(persist.settings.get(self.setting, ''), matching=matching)
 
    def on_highlight(self, index):

src/s/u/SublimeLinter3-HEAD/sublimelinter.py   SublimeLinter3(Download)
            syntax_changed = False
 
        if syntax_changed or persist.settings.get('lint_mode', 'background') == 'background':
            self.hit(view)
        else:
                self.on_new(view)
 
            if persist.settings.get('lint_mode', 'background') in ('background', 'load/save'):
                self.hit(view)
 
                syntax_changed = self.check_syntax(view)
                vid = view.id()
                mode = persist.settings.get('lint_mode', 'background')
                show_errors = persist.settings.get('show_errors_on_save', False)