Page 2 of 2
Re: code tree default folding level
Posted: 25.01.2024 02:21
by SamC
main Alexey wrote: ↑22.12.2023 09:42
Option "ui_tree_unfold" will be added to 1.206 release.
When using code tree to locate the context,if the node is with subnode double click will toggle fold/unfold this tree branch,is it possible to set it to just locate the caret(may be when ctrl is pressed,it means locate only?)
Thanks.
Re: code tree default folding level
Posted: 25.01.2024 05:07
by main Alexey
how can I 'locate the caret'? I don't understand. do you mean you want to place caret onto the dbl-clicked tree node?
Re: code tree default folding level
Posted: 25.01.2024 05:19
by main Alexey
I got it. you need to NOT fold/unfold on dbl-click. okay, done, wait for update.
Re: code tree default folding level
Posted: 25.01.2024 09:42
by mix-7
SamC wrote: ↑23.12.2023 14:07
...
This time there is a blue block at the left side of the bottom bar, what's that mean? Thanks!
2023-12-232.png
Perhaps plugin Clipboard Catcher
See the log in the Statusbar and in the Console
Re: code tree default folding level
Posted: 29.01.2024 01:36
by SamC
mix-7 wrote: ↑25.01.2024 09:42
SamC wrote: ↑23.12.2023 14:07
...
This time there is a blue block at the left side of the bottom bar, what's that mean? Thanks!
2023-12-232.png
Perhaps plugin Clipboard Catcher
See the log in the Statusbar and in the Console
It disappeared after restart,thanks for the advise for checking~
Re: code tree default folding level
Posted: 05.02.2024 02:00
by SamC
main Alexey wrote: ↑22.12.2023 09:42
Option "ui_tree_unfold" will be added to 1.206 release.
I found if the file is open,after de-active and re-active,the tree will be fold. And after some editing, the tree will be fully unfold again.
Could we set it allways unfold except for we fold it manually?
Thanks!
Re: code tree default folding level
Posted: 06.02.2024 02:16
by SamC
I add a method in one plugin to do this,it's OK now~
def on_focus(self):
treeid = app_proc(PROC_GET_CODETREE, '')
tree_proc(treeid, TREE_ITEM_UNFOLD_DEEP)
Re: code tree default folding level
Posted: 10.02.2024 09:20
by main Alexey
optiuon 'ui_tree_unfold' may help you.
or try other options 'ui_tree_*'.