◐ Shell
clean mode source ↗

bpo-39852: IDLE 'Go to line' deletes selection, updates status by terryjreedy · Pull Request #18801 · python/cpython

Clearing any selection prevents accidental deletion.
The update is for Ln and Col on the status bar.

csabella

csabella

@terryjreedy

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Mar 8, 2020
…nGH-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 2522db1)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Mar 8, 2020
…nGH-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 2522db1)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

miss-islington added a commit that referenced this pull request

Mar 8, 2020
)

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 2522db1)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

miss-islington added a commit that referenced this pull request

Mar 8, 2020
)

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 2522db1)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>