Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

🐞 Command-A (Copy All) is capturing, but not highlighting

未關閉
#121 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
48/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
macos, swift
領域
desktop

研究方向

首先,在包含多行檔案的 CodeEditTextView 編輯器中重現 Command-A,接著檢查最後一行附近的選取與反白行為。完成的標準是:按下 Command-A 後每一行都能明顯反白,同時 Command-C 和 Command-V 仍然包含完整文字。

由索引模型根據 Issue 內容生成。

描述

bug
Description

File with 19 lines of text - when trying to capture all via the Command-A key sequence, only the first 18 lines are highlighted. However, after copying via Command-C and pasting via Command-V, all of the lines are pasted. So all the lines are being selected, but not all the lines are highlighted.

To Reproduce
  1. Open any existing file or create a new file
  2. Enter a few lines
  3. Press Command+A to attempt to highlight all text
  4. Press Command+C to copy the text
Expected Behavior

Pressing Command-A should highlight all text in the open editor window

Version Information

CodeEdit: [e.g. 0.0.x-alpha.y]
macOS: [e.g. 13.2.1]
Xcode: [e.g. 14.2]

Additional Context

No response

Screenshots
Image
主要語言
Swift
星號
182
分支
57
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CodeEditApp/CodeEditTextView 的其他 Issue

查看 CodeEditApp/CodeEditTextView 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。