if not self.VBufHandle:\r
return False\r
\r
- if self.programmaticScrollMayFireEvent and time.time() - self._lastProgrammaticScrollTime < 0.4:\r
+ if self.programmaticScrollMayFireEvent and self._lastProgrammaticScrollTime and time.time() - self._lastProgrammaticScrollTime < 0.4:\r
# This event was probably caused by this buffer's call to scrollIntoView().\r
# Therefore, ignore it. Otherwise, the cursor may bounce back to the scroll point.\r
# However, pretend we handled it, as we don't want it to be passed on to the object either.\r