diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-03-08 18:49:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-08 18:49:44 (GMT) |
commit | a5e821c7269ebed6e8b4b4eee3f2247ec41a9788 (patch) | |
tree | 7ac52bee9a3ac8d416cfe8e1e209cb60c890904e /Doc/library | |
parent | 765117dc161d7bd8317e9df7fb3f3b5caca281c2 (diff) | |
download | cpython-a5e821c7269ebed6e8b4b4eee3f2247ec41a9788.zip cpython-a5e821c7269ebed6e8b4b4eee3f2247ec41a9788.tar.gz cpython-a5e821c7269ebed6e8b4b4eee3f2247ec41a9788.tar.bz2 |
bpo-39852: IDLE 'Go to line' deletes selection, updates status (GH-18801)
It appears standard that moving the text insert cursor away from a selection clears the
selection. Clearing prevents accidental deletion of a possibly off-screen bit of text.
The update is for Ln and Col on the status bar.
(cherry picked from commit 2522db11df102be3baf25ce9e816ebe8ffdb7fcc)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/idle.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index fd6e309..b1192e7 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -142,7 +142,9 @@ Replace... Open a search-and-replace dialog. Go to Line - Move cursor to the line number requested and make that line visible. + Move the cursor to the beginning of the line requested and make that + line visible. A request past the end of the file goes to the end. + Clear any selection and update the line and column status. Show Completions Open a scrollable list allowing selection of keywords and attributes. See |