Lines Matching refs:indent
191 text.bind("<<newline-and-indent>>",self.newline_and_indent_event)
192 text.bind("<<smart-indent>>",self.smart_indent_event)
195 text.bind("<<indent-region>>", fregion.indent_region_event)
232 # usetabs true -> literal tab characters are used by indent and
236 # false -> tab characters are converted to spaces by indent
252 # indentwidth is the number of screen characters per indent level.
1381 # do indent-region
1383 # indent one level
1430 # Count leading whitespace for indent size.
1440 indent = line[:i]
1486 # After the first line of a string do not indent at all.
1490 # just mimic the current indent.
1491 text.insert("insert", indent, self.user_input_insert_tags)
1494 # last open bracket structure; else indent one
1495 # level beyond the indent of the line with the
1500 # mimic the current indent; else if initial line
1501 # has a start on an assignment stmt, indent to
1505 text.insert("insert", indent,
1513 # This line starts a brand new statement; indent relative to
1516 indent = y.get_base_indent_string()
1517 text.insert("insert", indent, self.user_input_insert_tags)
1520 elif indent and y.is_block_closer():
1612 "Manage initial indent guess, returned by run method."
1642 """Return 2 lines containing block opener and and indent.
1644 Either the indent line or both may be None.