Hello,
The default folding status for code tree is automatic set to unfold the catalogue for the carset position and fold others.
Is it possible to force to maintain the unfold all status for easy to jump to certain position?
Thanks!
code tree default folding level
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: code tree default folding level
currently not possible. should we add the option, like "ui_tree_unfold":true ?
Re: code tree default folding level
That would be helpful, Thanks!
BTW,
I check the new features, but not very clear for the description below, why we must remove tree-helper for python? And does the build-in tree helper means we can't adjust it anymore?
"add: new tree-helper for WikidPad, so you must remove Python tree-helper."
"add: new tree-helper for Textile, so you must remove Python tree-helper."
BTW,
I check the new features, but not very clear for the description below, why we must remove tree-helper for python? And does the build-in tree helper means we can't adjust it anymore?
"add: new tree-helper for WikidPad, so you must remove Python tree-helper."
"add: new tree-helper for Textile, so you must remove Python tree-helper."
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: code tree default folding level
Not tree-helper FOR PYTHON, but tree-helper WRITTEN ON PYTHON for languages WikidPad/Textile.>why we must remove tree-helper for python?
Addons do not have tree-helper FOR python at all.
Pascal code can be adjusted too.>does the build-in tree helper means we can't adjust it anymore?
Last edited by main Alexey on 22.12.2023 09:55, edited 2 times in total.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: code tree default folding level
Option "ui_tree_unfold" will be added to 1.206 release.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: code tree default folding level
Beta 1.206 is now at
https://github.com/Alexey-T/CudaText/issues/5324
Pls test.
I had the idea to make the option per-lexer. so user can write it to lexer-specific config. but it is more work. maybe later.
https://github.com/Alexey-T/CudaText/issues/5324
Pls test.
I had the idea to make the option per-lexer. so user can write it to lexer-specific config. but it is more work. maybe later.
Re: code tree default folding level
I've download the 1.206 from sourceforge.net, it seems without that opition?(solved, see next)main Alexey wrote: ↑22.12.2023 15:24 Beta 1.206 is now at
https://github.com/Alexey-T/CudaText/issues/5324
Pls test.
I had the idea to make the option per-lexer. so user can write it to lexer-specific config. but it is more work. maybe later.
Last edited by SamC on 23.12.2023 14:59, edited 2 times in total.
Re: code tree default folding level
I've test pure cuda, it works.
And then I overwrite the default.json in default settings too, (also py, data, and main cuda program), it now works.
This time there is a blue block at the left side of the bottom bar, what's that mean? Thanks!
And then I overwrite the default.json in default settings too, (also py, data, and main cuda program), it now works.
This time there is a blue block at the left side of the bottom bar, what's that mean? Thanks!
Re: code tree default folding level
I also find an error like below at start, it didn't report error on 1.201.
Init: cuda_macros
Traceback (most recent call last):
File "C:\cudatext\py\cuda_macros\cd_macros.py", line 82, in on_start
self._do_acts(acts='|reg|menu|')
File "C:\cudatext\py\cuda_macros\cd_macros.py", line 610, in _do_acts
self.adapt_menu()
File "C:\cudatext\py\cuda_macros\cd_macros.py", line 97, in adapt_menu
if PLUG_AUTAG in [it['tag'] for it in top_its]:
File "C:\cudatext\py\cuda_macros\cd_macros.py", line 97, in <listcomp>
if PLUG_AUTAG in [it['tag'] for it in top_its]:
KeyError: 'tag'
ERROR: Exception in CudaText for on_start: KeyError: 'tag'
Init: cuda_macros
Traceback (most recent call last):
File "C:\cudatext\py\cuda_macros\cd_macros.py", line 82, in on_start
self._do_acts(acts='|reg|menu|')
File "C:\cudatext\py\cuda_macros\cd_macros.py", line 610, in _do_acts
self.adapt_menu()
File "C:\cudatext\py\cuda_macros\cd_macros.py", line 97, in adapt_menu
if PLUG_AUTAG in [it['tag'] for it in top_its]:
File "C:\cudatext\py\cuda_macros\cd_macros.py", line 97, in <listcomp>
if PLUG_AUTAG in [it['tag'] for it in top_its]:
KeyError: 'tag'
ERROR: Exception in CudaText for on_start: KeyError: 'tag'
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: code tree default folding level
hm, I don't know. some plugin which I forgot about?blue block at the left side of the bottom bar, what's that mean?
try to remove additional plugins (in 'py' folder) one by one.
this is due to changed API in 1.206.ERROR: Exception in CudaText for on_start: KeyError: 'tag'
mentioned in https://wiki.freepascal.org/CudaText_API
solution: update all plugins from Addons Manager, restart. your error is from _old_ 'Macros'.