Page 1 of 1

[Solved] View options is per-file only

Posted: 04.07.2020 08:22
by Krock
Hello,

I assume it's a feature, but how can I apply the "View" options to all files?
Whenever I toggle the "Show spaces/tabs" it is only applied to the current file.
Or is there a per-file view cache file that I could clear, so that the User options are applied to all newly opened files?

CudaText 1.106.5.0
Ubuntu 20.04

EDIT: I just noticed that the settings have changed in a more recent version.
Previously:

Code: Select all

  "unprinted_show" : true,
  "unprinted_spaces" : true,
  "unprinted_spaces_trailing" : true,
  "unprinted_ends" : false,
Now:

Code: Select all

	"unprinted_content": "t.",
Replacing those settings fixed my issue.

Posted: 04.07.2020 09:17
by Alexey
Yes, "View" menu changes options only for current document.

Posted: 04.07.2020 10:13
by kvichans
Image

(1) - Default value
(2) - Value for all files
(3) - Value for files with selected lexer
(4) - Value for the current tab