dabo Commit
Revision 6390
Date: 2011-02-04 09:12:08 -0800 (Fri, 04 Feb 2011)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6390

Changed:
U   trunk/dabo/ui/uiwx/dEditor.py

Log:
Committed the last one too quickly. While it worked, this is cleaner.


Diff:
Modified: trunk/dabo/ui/uiwx/dEditor.py
===================================================================
--- trunk/dabo/ui/uiwx/dEditor.py       2011-02-04 17:06:15 UTC (rev 6389)
+++ trunk/dabo/ui/uiwx/dEditor.py       2011-02-04 17:12:08 UTC (rev 6390)
@@ -603,8 +603,8 @@
 
        def select(self, position, length):
                """Select all text from <position> for <length> or end of 
string."""
-               self.SelectionStart = position
-               self.SelectionEnd = position + length
+               end = position + length
+               self.SelectionPosition = (position, end)
 
 
        def selectLine(self):



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to