python / python/cpython

IDLE: Select current line when text is not selected while doing copy

Open
#94,521 6 comments 0 reactions 1 assignee View on GitHub

@terryjreedy is already working on this.

Since Jul 5, 2022.

topic-IDLE type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

Feature or enhancement

When the selection is empty, select and copy/cut the current line.

Original Python’s IDLE can copy empty text, but it seem make no sense.

Previous discussion

Discuss at: https://discuss.python.org/t/i-made-some-improvement-for-idle-can-i-contribute-to-idlelib-library-in-python-project

Usage: https://github.com/znsoooo/IDLE-Advance

Implementation: https://github.com/znsoooo/IDLE-Advance/blob/master/idlealib/CopyNoSelect.py

Linked PRs
  • gh-126034
  • gh-145134

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.