summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-01-20 00:00:38 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-01-20 00:00:38 (GMT)
commit4a2762d146e2b19b981bd734827308c742d34c1a (patch)
tree627c8e25ea726469a7cc5bb0562aa74ca051f59c /Doc
parent350d03b18aeadc2292866a9df5a38cfa58785e10 (diff)
downloadcpython-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.rst7
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