Skip to content

Commit 6aec99e

Browse files
authored
Update ReaImGui Markdown v0.1.15 > v0.1.16 (#1693)
1 parent ad20a5d commit 6aec99e

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Development/talagan_ReaImGui Markdown.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
--[[
22
@description ReaImGui Markdown : A Markdown rendering library for ReaImGui
3-
@version 0.1.15
3+
@version 0.1.16
44
@author Ben 'Talagan' Babut
55
@license MIT
66
@donation https://www.paypal.com/donate/?business=3YEZMY9D6U8NC&no_recurring=1&currency_code=EUR
77
@links
88
Forum Thread https://forum.cockos.com/showthread.php?t=301055
99
@changelog
10-
- [Feature] Text renderer can output with line feeds
11-
- [Optim] Factorize fonts with context scope instead of widget scope
10+
- [Bug Fix] Crash if widget's first text is set to ""
1211
@metapackage
1312
@provides
1413
[nomain] talagan_ReaImGui Markdown/reaimgui_markdown/**/*.lua

Development/talagan_ReaImGui Markdown/reaimgui_markdown.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ function ReaImGuiMd:_initialize(ctx, id, options, partial_style)
6161
self.id = id
6262
self.options = { wrap = true, horizontal_scrollbar = true , width = 0, height = 0, additional_window_flags = 0 }
6363
self.style = deepCopy(ImGuiMdCore.DEFAULT_STYLE)
64-
self.text = ""
65-
self.ast = {}
64+
self:setText("")
6665

6766
self:setPartialStyle(partial_style)
6867
self:setOptions(options)

0 commit comments

Comments
 (0)