mirror of
https://github.com/python/cpython.git
synced 2025-10-29 20:51:26 +00:00
Much improved autoindent and handling of tabs,
by Tim Peters.
This commit is contained in:
parent
c40c54782c
commit
def2c96718
3 changed files with 242 additions and 65 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue