elementary / elementary/code

Invisibles are copied with text

Đang mở
#1,057 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Priority: Low
Ngôn ngữ chính
Vala
Star
521
Fork
118
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

## 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện các bước sao chép và dán trong Code khi đã bật các dấu đánh dấu ẩn, sau đó lần theo hành vi sao chép và dán của trình soạn thảo để tìm nơi trạng thái hiển thị chỉ dành cho vùng chọn được lưu giữ. Hoàn thành khi văn bản được dán chỉ hiển thị các ký tự ẩn khi được chọn, phù hợp với hành vi hiện có của văn bản gốc.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
desktop
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.