Page 1 of 1

Soft-wrapping doesn't work

Posted: 03.02.2023 07:29
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,

}

Posted: 03.02.2023 07:38
by Thumos
P. S. Soft-wrapping doesn't work in markdown .md documents.

Posted: 03.02.2023 11:05
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.

Posted: 03.02.2023 18:20
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)

Posted: 03.02.2023 18:23
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

Posted: 03.02.2023 18:25
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?

Posted: 09.02.2023 21:05
by Thumos
Thank you, deleting settings history solves the issue.