Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-143774 - Improve IDLE Format Paragraph doc#143775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
terryjreedy merged 5 commits intopython:mainfromterryjreedy:reformat
Jan 20, 2026

Conversation

@terryjreedy
Copy link
Member

@terryjreedyterryjreedy commentedJan 13, 2026
edited
Loading

Add a reminder to not rewrap code line to the Menu => Format => Reformat Paragraph entry.
In Editing and Nagivagion, add a new 'Format block' subsection that defines 'paragraph'
to better match what is dependably handled as more or less expected.
In particular, specify equal indents and that the resulting indent equals original indent.
Also mention that selections are expanded to complete lines and how to modify max length.

(Also fix a couple case errors in cross references.)


📚 Documentation preview 📚:https://cpython-previews--143775.org.readthedocs.build/

Define 'paragraph' better and mention indent preservation,selection expansion, and length setting.
@terryjreedyterryjreedy self-assigned thisJan 13, 2026
@terryjreedyterryjreedy added the docsDocumentation in the Doc dir labelJan 13, 2026
@terryjreedyterryjreedy changed the titleReformatgh-143774 - Improve IDLE Format Paragraph docJan 13, 2026
@StanFromIreland
Copy link
Member

CC@adorilson

@adorilson
Copy link
Contributor

CC@adorilson

Thank you for the CC.

I think it resolves the problem. On the other hand, it seems too long.
IHMO, the most important sentence is "Avoid rewrapping code lines.".

@terryjreedy
Copy link
MemberAuthor

I was more interested in defining the scope of the function but agree too long. I moved the new explanation to a new subsection with other explanatory notes.

@terryjreedyterryjreedy added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsJan 20, 2026
@terryjreedyterryjreedy merged commitfa3abf5 intopython:mainJan 20, 2026
51 checks passed
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsJan 20, 2026
@miss-islington-app
Copy link

Thanks@terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJan 20, 2026
Add a reminder to not rewrap code line to the Menu => Format => Reformat Paragraph entry.In Editing and Nagivagion, add a new 'Format block' subsection that defines 'paragraph'to better match what is dependably handled as more or less expected.In particular, specify equal indents and that the resulting indent equals original indent.Also mention that selections are expanded to complete lines and how to modify max length.(Also fix a couple case errors in cross references.)(cherry picked from commit fa3abf5a51d42b2d62e1bc89e9465b398a567e94)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJan 20, 2026
Add a reminder to not rewrap code line to the Menu => Format => Reformat Paragraph entry.In Editing and Nagivagion, add a new 'Format block' subsection that defines 'paragraph'to better match what is dependably handled as more or less expected.In particular, specify equal indents and that the resulting indent equals original indent.Also mention that selections are expanded to complete lines and how to modify max length.(Also fix a couple case errors in cross references.)(cherry picked from commitfa3abf5)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@terryjreedyterryjreedy deleted the reformat branchJanuary 20, 2026 09:07
@bedevere-app
Copy link

GH-144062 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelJan 20, 2026
@bedevere-app
Copy link

GH-144063 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelJan 20, 2026
terryjreedy added a commit that referenced this pull requestJan 20, 2026
…4063)gh-143774 - Improve IDLE Format Paragraph doc (GH-143775)Add a reminder to not rewrap code line to the Menu => Format => Reformat Paragraph entry.In Editing and Nagivagion, add a new 'Format block' subsection that defines 'paragraph'to better match what is dependably handled as more or less expected.In particular, specify equal indents and that the resulting indent equals original indent.Also mention that selections are expanded to complete lines and how to modify max length.(Also fix a couple case errors in cross references.)(cherry picked from commitfa3abf5)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
terryjreedy added a commit that referenced this pull requestJan 20, 2026
…4062)gh-143774 - Improve IDLE Format Paragraph doc (GH-143775)Add a reminder to not rewrap code line to the Menu => Format => Reformat Paragraph entry.In Editing and Nagivagion, add a new 'Format block' subsection that defines 'paragraph'to better match what is dependably handled as more or less expected.In particular, specify equal indents and that the resulting indent equals original indent.Also mention that selections are expanded to complete lines and how to modify max length.(Also fix a couple case errors in cross references.)(cherry picked from commitfa3abf5)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@terryjreedyterryjreedy

Labels

docsDocumentation in the Doc dir

Projects

Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@terryjreedy@StanFromIreland@adorilson

[8]ページ先頭

©2009-2026 Movatter.jp