Hi, everyone!
I was playing with Picotron text field and text editor recently and found some possible errors:
-
In
function GuiElement:attach_filed
(gui.lua):
In line 239:local str = type(self.get == "function") and self:get() or "---"
I think this should belocal str = type(self.get) == "function" and self:get() or "---"
, or get will always be called - In
function attach_text_editor
(gui_ed.lua):
In line 1250 there is a callcontent.key_callback(k)
that causes errors for some keys.
Maybe this should becontent.key_callback[k](self, k)
Hope this was helpful!
[Please log in to post a comment]