Much improved autoindent and handling of tabs,

by Tim Peters.
This commit is contained in:
Guido van Rossum 1999-05-21 04:38:27 +00:00
parent c40c54782c
commit def2c96718
3 changed files with 242 additions and 65 deletions

View file

@ -291,7 +291,7 @@ def __init__(self, flist=None):
__builtin__.quit = __builtin__.exit = "To exit, type Ctrl-D."
self.auto = self.extensions["AutoIndent"] # Required extension
self.auto.config(prefertabs=1)
self.auto.config(usetabs=1, indentwidth=8)
text = self.text
text.configure(wrap="char")