]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Tim Peters implements some of my wishes:
authorGuido van Rossum <guido@python.org>
Mon, 19 Apr 1999 16:23:15 +0000 (16:23 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 19 Apr 1999 16:23:15 +0000 (16:23 +0000)
commit17c516eacb2051ff7f549bea077ebb9666ffab69
tree4205b3c6b779871bd5e76e9d9e2cfaa8e7f1b361
parente9af64c373c198f02be7de46527a4b444111bfdf
Tim Peters implements some of my wishes:

o Makes the tab key intelligently insert spaces when appropriate (see Help
list banter twixt David Ascher and me; idea stolen from every other editor
on earth <wink>).

o newline_and_indent_event trims trailing whitespace on the old line (pymode
and Codewright).

o newline_and_indent_event no longer fooled by trailing whitespace or
comment after ":" (pymode, PTUI).

o newline_and_indent_event now reduces the new line's indentation after
return, break, continue, raise and pass stmts (pymode).

The last two are easy to fool in the presence of strings & continuations,
but pymode requires Emacs's high-powered C parsing functions to avoid that
in finite time.
Tools/idle/AutoIndent.py