halfbrained / cuda_breadcrumbs

CudaText plugin. Breadcrumbs: widget for quick filesystem navigation
5 stars 1 forks source link

consider Cud option for vert-indent on cliking treeview nodes #55

Closed Alexey-T closed 3 years ago

Alexey-T commented 3 years ago

Screenshot from 2021-07-23 14-14-21

you can take abs(N) for N<0. to be simple.

Alexey-T commented 3 years ago

cudax_lib gives the API get_opt.

halfbrained commented 3 years ago

Done.

Thanks for the tip, I was not aware of this option

Alexey-T commented 3 years ago

what if that option is missed in config? you will get 0 and use 0 indent?

Alexey-T commented 3 years ago

2) option allows valie 100 !

for big values N, where abs(N)>=100, make centering vertically

but plugin won't handle 100. Let's revert this - use 5 fixed value. Don't read the opt.

halfbrained commented 3 years ago

what if that option is missed in config? you will get 0 and use 0 indent?

I think it will fallback on the default value?

ok, reverting