CodeEditApp / CodeEditApp/CodeEditSourceEditor

🐞 Default tab size is incorrect (set to 4 but is only 3), changing it does not work

Đang mở
#357 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Swift
Star
719
Fork
160
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description

The default tab size is set to 4 in settings, but it is actually 3 in the editor window when counted against spaces. Changing the tab size in settings does not change the editor. A restart is also not honouring the changed tab size setting.

### To Reproduce

1. Go to settings->Text Editing
2. Default tab size is set to 4 spaces and Prefer Indent is set to Tabs
3. Close Settings.
4. Type 4 spaces in the editor
5. Type newline and a tab
6. Notice that the tab only equals 3 spaces, not 4.

### Expected Behavior

Tab size should be equal to the number of spaces set in settings, by default: 4 spaces not 3.

### Version Information

CodeEdit: 0.3.6 (47)
macOS: 15.7.1
Xcode: Version 26.1.1 (17B100)

### Additional Context

_No response_

### Screenshots

Image

Image

Changing tab size to some other value (here: 8) does not change the editor (also not after restart of CodeEdit):

Image

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.