Commits

Ronny Pfannschmidt committed 13f30fb

license headers

  • Participants
  • Parent commits 3459749

Comments (0)

Files changed (2)

+"""
+    vimish buffer
+    ~~~~~~~~~~~~~
+
+    simple interface to various textbuffer implementations
+
+    :copyright: 2009 by Ronny Pfannschmidt
+    :license: LGPL 2 or later
+"""
+
 from gtk import TextBuffer
 
 
     ~~~~~~~~~~~~~
 
     handles input mapping and command processing
+
+    :copyright: 2009 by Ronny Pfannschmidt
+    :license: LGPL2 or later
 """
 
 from gtk import TextBuffer
 
     def add(self, buffer):
         self.buffers.append(buffer)
-        return len(self.buffers)
+        return len(self.buffers) # buffer id
 
     def remove(self, buffer):
         self.buffers[buffer.burnr] = None