summaryrefslogtreecommitdiff
path: root/dalos-textbuffer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dalos-textbuffer.lua')
-rw-r--r--dalos-textbuffer.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/dalos-textbuffer.lua b/dalos-textbuffer.lua
index 5b15e5f..d52bb76 100644
--- a/dalos-textbuffer.lua
+++ b/dalos-textbuffer.lua
@@ -1,6 +1,6 @@
dalosp.textbuffer = {
get_settings = function (self)
- return { text = extra.text }
+ return { text = self.extra.text }
end,
activate = function (self)
@@ -20,6 +20,7 @@ dalosp.textbuffer = {
tab.otype = dalos.objtype.HANDLE
tab.activate = dalosp.textbuffer.activate
tab.default_name = "Text Buffer"
+ tab.ntype = "Text Buffer"
tab.get_settings = dalosp.textbuffer.get_settings
local extra = { }
if settings then extra.text = settings.text end