[gnue] r9554 - trunk/gnue-forms/src/input/displayHandlers

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-05-08 12:00:06 -0500 (Tue, 08 May 2007)
New Revision: 9554

Modified:
   trunk/gnue-forms/src/input/displayHandlers/Cursor.py
Log:
Fixed requestINSERTAT handler (only used by gtk2 multiline entry).


Modified: trunk/gnue-forms/src/input/displayHandlers/Cursor.py
===================================================================
--- trunk/gnue-forms/src/input/displayHandlers/Cursor.py	2007-05-08 14:06:22 UTC (rev 9553)
+++ trunk/gnue-forms/src/input/displayHandlers/Cursor.py	2007-05-08 17:00:06 UTC (rev 9554)
@@ -214,7 +214,7 @@
     def _insertTextAt(self, event):
 
         self.__change_text(event.position, event.position, event.text,
-                event.position)
+                event.position + len(event.text))
 
     # -------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.