Soft-wrapping doesn't work

Solved bugs are moved into this topic...
Post Reply
Thumos
Posts: 25
Joined: 02.02.2023 23:07

Soft-wrapping doesn't work

Post by Thumos »

I "installed" CT on Fedora Linux and added these settings below and everything seems to be working fine except

Code: Select all

"wrap_mode": 2, "margin": 70,
.

Interestingly, wrapping is applied fine in the two

Code: Select all

.json
settings files but not outside them. I tried to reload CT as well.

Code: Select all

{
  "font_name__linux": "JetBrains Mono Medium",
  "font_name_i__linux": "",
  "font_name_b__linux": "",
  "font_name_bi__linux": "",
  "font_size__linux": 11,
  "font_size_i__linux": 11,
  "font_size_b__linux": 11,
  "font_size_bi__linux": 11,

  "wrap_mode": 2,
  "margin": 70,

  "caret_blink_en": false,

  "caret_view": "-100,-100",
  "caret_view_ovr": "-100,-100",
  "caret_view_ro": "-100,-100",

  "ui_tab_size_y": 22,

  "mouse_wheel_speed_vert": 10,

}
Thumos
Posts: 25
Joined: 02.02.2023 23:07

Post by Thumos »

P. S. Soft-wrapping doesn't work in markdown .md documents.
Thumos
Posts: 25
Joined: 02.02.2023 23:07

Post by Thumos »

Hm, it is strange but after another reload all user settings became inactive, even though they are still in user.json. Could it have to do with permissions of files I copied to ~/.config/... ? They are on the attached screenshot.
Attachments
user-json.png
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

> wrapping is applied fine in the two .json settings files but not outside them.

i guess you have opened some files before changing the settings, so history-file has saved file-specific settings, and global settings do not override these local history-settings. how to fix it? exit Cud, delete settings/history* files.

if problem still here, give me steps. how to repeat the bug. on clean Cud

PS. check that you applied settings for all files, not only for JSON lexer. (OptionsEditor can apply option only for lexer)
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

>P. S. Soft-wrapping doesn't work in markdown .md documents.

i just checked - all works in MD documents.
1) delete settings/history* files
2) restart Cud
3) give me steps to see bug
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

Thumos wrote:Hm, it is strange but after another reload all user settings became inactive, even though they are still in user.json. Could it have to do with permissions of files I copied to ~/.config/... ? They are on the attached screenshot.
what is full filename of user.json which you edited?
Thumos
Posts: 25
Joined: 02.02.2023 23:07

Post by Thumos »

Thank you, deleting settings history solves the issue.
Post Reply