[Module] MarkDown Gadget (all OS)
-
- Enthusiast
- Posts: 237
- Joined: Tue Feb 14, 2017 12:07 pm
Re: [Module] MarkDown Gadget (all OS)
Thanks for these changes
I am French, I do not speak English.
My apologies for the mistakes.
I have sometimes problems of expression
I am sometimes quite clumsy, please excuse me and let me know.
My apologies for the mistakes.
I have sometimes problems of expression
I am sometimes quite clumsy, please excuse me and let me know.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] MarkDown Gadget (all OS)
Update:
Draw Markdown directly onto a CanvasGadget.
Draw Markdown directly onto a CanvasGadget.
Code: Select all
MarkDown::Text()
MarkDown::LoadFonts()
MarkDown::Height()
MarkDown::Width()
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- StarBootics
- Addict
- Posts: 984
- Joined: Sun Jul 07, 2013 11:35 am
- Location: Canada
Re: [Module] MarkDown Gadget (all OS)
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
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
The Stone Age did not end due to a shortage of stones !
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] MarkDown Gadget (all OS)
It is a local list within a procedure. It is therefore not necessary to release it.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] MarkDown Gadget (all OS)
Update:
- new Scrollbars
- new DPI managment
- Bugfixes
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]