elementary / elementary/code

Invisibles are copied with text

Offen
#1,057 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Priority: Low
Vorherrschende Sprache
Vala
Sterne
521
Forks
118
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
14

Beschreibung

## 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.
2. Copy that text
3. 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.