Page 6 of 6

Re: [Module] MarkDown Gadget (all OS)

Posted: Fri May 06, 2022 12:47 pm
by ShadowStorm
Thanks for these changes :)

Re: [Module] MarkDown Gadget (all OS)

Posted: Thu May 12, 2022 7:48 pm
by Thorsten1867
Update:

Draw Markdown directly onto a CanvasGadget.

Code: Select all

MarkDown::Text()
MarkDown::LoadFonts()
MarkDown::Height()
MarkDown::Width()

Re: [Module] MarkDown Gadget (all OS)

Posted: Fri May 13, 2022 5:56 am
by StarBootics
Hello Thorsten1867,

In your Parse_() procedure you create a new linked list at every call but you never freeing it : Line 5158 -> NewList Sort.s()

If I was you I will Swap line 5158 and line 5160 and at line 6252 add FreeList(Sort()).

This will be safer.

Best regards
StarBootics

Re: [Module] MarkDown Gadget (all OS)

Posted: Fri May 13, 2022 9:46 am
by Thorsten1867
It is a local list within a procedure. It is therefore not necessary to release it.

Re: [Module] MarkDown Gadget (all OS)

Posted: Mon May 16, 2022 12:49 pm
by Thorsten1867
Update:
  • new Scrollbars
  • new DPI managment
  • Bugfixes