Exemplo n.º 1
0
 def insert(self, index, chars, tags=None):
     try:
         if self.delegate.compare(index, "<", "iomark"):
             self.delegate.bell()
             return
     except TclError:
         pass
     UndoDelegator.insert(self, index, chars, tags)
Exemplo n.º 2
0
 def insert(self, index, chars, tags=None):
     try:
         if self.delegate.compare(index, "<", "iomark"):
             self.delegate.bell()
             return
     except TclError:
         pass
     UndoDelegator.insert(self, index, chars, tags)
Exemplo n.º 3
0
#! /usr/bin/env python