giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.3k stars 458 forks source link

Heading property issue in preference #2536

Open gaetanlord opened 5 days ago

gaetanlord commented 5 days ago

Version, Operating system Ubuntu 22.04 CherryTree 1.14 was also present in 1.13

Describe the bug When setting the Header H# preferences, I notice a problem with H3/H4 and H5/H6. I use a lot the header format in my text. H4 seems to be connected to H3, When a change is done on H3 it becomes the same for H4 The same applies with H5 replicated to H6

To Reproduce I create 6 lines, each of which is configured with a different header (h1 .. h6) When setting different sizes on H3 and H4, they are the same as H3 When doing Bold on H3, H4 is also becoming bold

The same pattern applies between H5 and H6

Thanks for the good work

gaetanlord commented 5 days ago

I incluide what I believe is the relevant section in my config.cfg file [colors] tt_def_fg=#0b0c0c tt_def_bg=#e0e0e0 tt_sel_fg=#e0e0e0 tt_sel_bg=#5294e2 scalable_h1=1700;;;1;0;0 scalable_h2=1500;;;1;0;0 scalable_h3=1400;;;0;0;0 scalable_h4=1300;;;0;0;0 scalable_h5=1200;;;1;0;0 scalable_h6=1100;;;0;0;0 scalable_small=833;;;0;0;0 monospace_fg=#a27547 monospace_bg=#f6f5f4 ms_dedic_font=true monospace_font=Monospace 14 col_link_webs=#00008989ffff col_link_node=#071c838e071c col_link_file=#8b8b69691414 col_link_fold=#7f7f7f7f7f7f style_1_text_fg=#ffffff style_1_text_bg=#000000 style_1_sel_fg=#ffffff style_1_sel_bg=#0088ff style_1_cusor=#ffffff style_1_curr_line_bg=#003b70 style_1_linenum_fg=#777777 style_1_linenum_bg=#000d1a style_2_text_fg=#000000 style_2_text_bg=#ffffff style_2_sel_fg=#ffffff style_2_sel_bg=#43ace8 style_2_cusor=#000000 style_2_curr_line_bg=#eef6ff style_2_linenum_fg=#000000
style_2_linenum_bg=#d6d2d0