Searched refs:codeline (Results 1 – 2 of 2) sorted by relevance
26 def get_spaces_firstword(codeline, c=re.compile(r"^(\s*)(\w*)")): argument28 return c.match(codeline).groups()31 def get_line_info(codeline): argument37 spaces, firstword = get_spaces_firstword(codeline)39 if len(codeline) == indent or codeline[indent] == '#':42 return indent, codeline, opener165 codeline = self.text.get(f'{linenum}.0', f'{linenum}.end')166 indent, text, opener = get_line_info(codeline)
201 for codeline in node.iter("codeline"):203 for phrases in codeline.iter("highlight"):