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

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

src/n/i/ninja-ide-HEAD/ninja_ide/gui/editor/sidebar_widget.py   ninja-ide(Download)
            return self._find_fold_closing_docstring(block)
 
        spaces = helpers.get_leading_spaces(text)
        pat = re.compile('^\s*$|^\s*#')
        block = block.next()
        while block.isValid():
            text2 = block.text()
            if not pat.match(text2):
                spacesEnd = helpers.get_leading_spaces(text2)

src/n/i/ninja-ide-HEAD/ninja_ide/gui/editor/editor.py   ninja-ide(Download)
                    break
                cols = (len(helpers.get_leading_spaces(
                    block.text())) // self.indent)
                if cols == 0:
                    for line in previous_line: