Invisibles are copied with text
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- desktop
調査の方向性
非表示マーカーを有効にした状態でCodeでコピーと貼り付けの手順を再現し、その後エディターのコピーと貼り付けの動作を追跡して、選択時にのみ適用される表示状態がどこに保持されているかを見つけます。貼り付けたテキストが選択されている場合にのみ非表示文字を表示し、元のテキストの既存の動作と一致すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What Happened
This is a minor issue, but when you copy and paste text in Code, the invisible markers (spaces, tabs, newlines) come with it. The pasted text displays invisibles, even though it's not selected.
If I select and deselect the pasted text, the invisibles disappear as expected.
Expected Behavior
Invisibles should not be pasted with the rest of the text, but instead should only be shown when selected like all other text
Steps to Reproduce
- Enter some text containing spaces (like
Hello World) - Select that text. You'll see an invisible marker in the space between words when it's selected.
- Copy that text
- Paste it somewhere else in Code. You will see the invisible marker in the pasted text, even though it's not selected
Logs
Platform Information
Odin daily
- 主要言語
- Vala
- スター
- 521
- フォーク
- 119
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 13
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elementary/code のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
elementary/code#1818 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
elementary/code#1813 · コメント 2 件 ·
-
Needs Design Priority: Wishlist
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
elementary/code#1786 · コメント 3 件 ·
-
Needs Design Priority: Wishlist
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
elementary/code#1783 ·
-
Priority: Wishlist
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
elementary/code#1762 · コメント 3 件 ·
elementary/code の issue をすべて見る
似ている issue
-
`--app` focus through the daemon can pick an off-screen window and refuse with `axElementNotFound` オープンclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P1
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
CachyOS/cachyos-aur-derived#754 ·
-
bug draftomen size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
andreagrandi/draftomen#681 ·
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
alexgorbatchev/simple-ptt#11 ·