

def send_format_file(self, view):
    new_id = self.get_request_id(view, EditFormatResult)
    if (not view.file_name()):
        _logger.info('aborting sending request for formatting - no file name')
        return
    r0 = None
    try:
        r0 = view.sel()[0]
    except IndexError:
        r0 = sublime.Region(0)
    req = EditFormatParams(r0.file_name(), r0.begin(), r0.size())
    req = req.to_request(new_id)
    _logger.info('now sending request for formatting')
    self.requests.put(req, priority=TaskPriority.HIGH, block=False)

dataset/ETHPy150Open guillermooo/dart-sublime-bundle/lib/analyzer/analyzer.py AnalysisServer.send_format_file/VarMisuse@84/120 `view`->`r0`