diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2008-01-20 00:00:38 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2008-01-20 00:00:38 (GMT) |
commit | 4a2762d146e2b19b981bd734827308c742d34c1a (patch) | |
tree | 627c8e25ea726469a7cc5bb0562aa74ca051f59c /Doc | |
parent | 350d03b18aeadc2292866a9df5a38cfa58785e10 (diff) | |
download | cpython-4a2762d146e2b19b981bd734827308c742d34c1a.zip cpython-4a2762d146e2b19b981bd734827308c742d34c1a.tar.gz cpython-4a2762d146e2b19b981bd734827308c742d34c1a.tar.bz2 |
Patch #1048820 from Stefan Wehr: add insert-mode editing to Textbox.
Fix an off-by-one error I noticed.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/2.6.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index e386b36..83101bd 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -868,16 +868,19 @@ complete list of changes, or look through the CVS logs for all the details. .. Revision 57769 - * A new method in the :mod:`curses` module: for a window, :meth:`chgat` changes the display characters for a certain number of characters on a single line. + (Contributed by Fabian Kreutz.) :: # Boldface text starting at y=0,x=21 # and affecting the rest of the line. stdscr.chgat(0,21, curses.A_BOLD) - (Contributed by Fabian Kreutz.) + The :class:`Textbox` class in the :mod:`curses.textpad` module + now supports editing in insert mode as well as overwrite mode. + Insert mode is enabled by supplying a true value for the *insert_mode* + parameter when creating the :class:`Textbox` instance. * The :mod:`decimal` module was updated to version 1.66 of `the General Decimal Specification <http://www2.hursley.ibm.com/decimal/decarith.html>`__. New features |