From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Date: Sun, 8 Mar 2020 18:49:44 +0000 (-0700)
Subject: bpo-39852: IDLE 'Go to line' deletes selection, updates status (GH-18801)
X-Git-Tag: v3.8.3rc1~125
X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5e821c7269ebed6e8b4b4eee3f2247ec41a9788;p=thirdparty%2FPython%2Fcpython.git
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
Open a search-and-replace dialog.
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.
Open a scrollable list allowing selection of keywords and attributes. See Completions in the Editing and navigation section below.
@@ -635,17 +637,20 @@ clash, or a single installation might need admin access. If one undo the clash, or cannot or does not want to run as admin, it might be easiest to completely remove Python and start over.A zombie pythonw.exe process could be a problem. On Windows, use Task -Manager to detect and stop one. Sometimes a restart initiated by a program -crash or Keyboard Interrupt (control-C) may fail to connect. Dismissing -the error box or Restart Shell on the Shell menu may fix a temporary problem.
+Manager to check for one and stop it if there is. Sometimes a restart +initiated by a program crash or Keyboard Interrupt (control-C) may fail +to connect. Dismissing the error box or using Restart Shell on the Shell +menu may fix a temporary problem.When IDLE first starts, it attempts to read user configuration files in
~/.idlerc/ (~ is oneâs home directory). If there is a problem, an error
message should be displayed. Leaving aside random disk glitches, this can
-be prevented by never editing the files by hand, using the configuration
-dialog, under Options, instead Options. Once it happens, the solution may
-be to delete one or more of the configuration files.
If IDLE quits with no message, and it was not started from a console, try
-starting from a console (python -m idlelib) and see if a message appears.
python -m idlelib) and see if
+this results in an error message.