Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Invisibles are copied with text

オープン
#1,057 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
領域
desktop

調査の方向性

非表示マーカーを有効にした状態でCodeでコピーと貼り付けの手順を再現し、その後エディターのコピーと貼り付けの動作を追跡して、選択時にのみ適用される表示状態がどこに保持されているかを見つけます。貼り付けたテキストが選択されている場合にのみ非表示文字を表示し、元のテキストの既存の動作と一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Priority: Low

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

  1. Enter some text containing spaces (like Hello World)
  2. Select that text. You'll see an invisible marker in the space between words when it's selected.
  3. Copy that text
  4. 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elementary/code のほかの issue

elementary/code の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。