Searched refs:TAB_LENGTH (Results 1 – 3 of 3) sorted by relevance
44 if line.startswith(' '*markdown.TAB_LENGTH):45 newtext.append(line[markdown.TAB_LENGTH:])56 if lines[i].startswith(' '*markdown.TAB_LENGTH*level):57 lines[i] = lines[i][markdown.TAB_LENGTH*level:]116 INDENT_RE = re.compile(r'^(([ ]{%s})+)'% markdown.TAB_LENGTH)121 return block.startswith(' '*markdown.TAB_LENGTH) and \163 indent_level = len(m.group(1))/markdown.TAB_LENGTH190 return block.startswith(' '*markdown.TAB_LENGTH)293 if item.startswith(' '*markdown.TAB_LENGTH):312 if items[-1].startswith(' '*markdown.TAB_LENGTH):
65 TAB_LENGTH = 4 # expand tabs to this many spaces variable383 source = source.expandtabs(TAB_LENGTH)
28 TAB_LENGTH = markdown.TAB_LENGTH variable30 TAB_LENGTH = 4 variable114 txt = txt.replace('\t', ' '*TAB_LENGTH)