def _create_region(self, view, lineno):
        line = view.line(view.text_point(lineno - 1, 0))
        r = view.find(r'\S', line.begin())
        if r is not None and line.contains(r):
            return sublime.Region(r.begin(), line.end())
        else:
            return line
dataset/ETHPy150Open jarhart/SublimeSBT/highlighter.py/CodeHighlighter._create_region/original