[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8972 - trunk/gnue-forms/src/input/displayHandlers
From: |
johannes |
Subject: |
[gnue] r8972 - trunk/gnue-forms/src/input/displayHandlers |
Date: |
Tue, 31 Oct 2006 12:34:19 -0600 (CST) |
Author: johannes
Date: 2006-10-31 12:34:19 -0600 (Tue, 31 Oct 2006)
New Revision: 8972
Modified:
trunk/gnue-forms/src/input/displayHandlers/Cursor.py
Log:
Set the cursor position only for those events carrying such an
information
Modified: trunk/gnue-forms/src/input/displayHandlers/Cursor.py
===================================================================
--- trunk/gnue-forms/src/input/displayHandlers/Cursor.py 2006-10-31
17:00:39 UTC (rev 8971)
+++ trunk/gnue-forms/src/input/displayHandlers/Cursor.py 2006-10-31
18:34:19 UTC (rev 8972)
@@ -326,7 +326,8 @@
self.work = ''
self._addText(event)
- self._cursor = event.position
+ if hasattr(event, 'position'):
+ self._cursor = event.position
def _insertTextAt(self, event):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8972 - trunk/gnue-forms/src/input/displayHandlers,
johannes <=