summaryrefslogtreecommitdiff
path: root/dalos-textbuffer.lua
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-12-20 17:57:53 +0100
committerPixel <pixel@nobis-crew.org>2009-12-20 17:57:53 +0100
commit3bf6f4ddfbcd61b28e918312090db8322d7ecc91 (patch)
tree08bf89ed51f62e142a93d0b2f7624485812efbc7 /dalos-textbuffer.lua
parent9e4d6af65641703b1451a31d973d7b6b5b23cc65 (diff)
Save is almost done.
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