IDLE: syntax highlighting and selected text
还没有人认领这个 Issue。
评估
调研方向
该报告涉及选择文本时 IDLE 的语法高亮,并提到 tkinter 可能是来源。首先在 macOS 上使用 Python 3.10.4 重现该行为,并比较选择前后的图像。完成的标准是:选中的文本保留预期的语法高亮,同时不改变 IDLE 的其他无关行为。
由索引模型根据 Issue 内容生成。
描述
Bug report
In the newest version of python (Python3.10.4) IDLE will remove syntax highlighting on selected text. How do I remove this? Is there anything in the tkinter source code that I have to change on my ened?
Your environment
- CPython versions tested on: Python 3.10.4
- Operating system and architecture: Macos
- IDLE info: Python 3.10.4 (v3.10.4:9d38120e33, Mar 23 2022, 17:29:05) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Images:
Before selection:
After selection:
Example of other IDE's (What IDLE used to do):
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 558
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python/cpython 的其他 Issue
-
docs pending
难度 2/5 1-3 小时 新手友好度 78/100
-
stdlib type-feature
难度 2/5 1-3 小时 新手友好度 78/100
-
stdlib type-feature
难度 2/5 1-3 小时 新手友好度 72/100
-
build type-bug
难度 2/5 1-3 小时 新手友好度 76/100
-
stdlib topic-email type-feature
难度 2/5 1-3 小时 新手友好度 70/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
难度 2/5 1-3 小时 新手友好度 88/100
OpenHands/extensions#626 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
CSCfi/sd-search-api#39 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 68/100
StevenBlack/hosts#3255 ·