Tk Library Source Code

Artifact [a6c2a28f53]
Login

Artifact a6c2a28f534a3c59a0f2694d83d8d111fa61befc:

Attachment "combobox.patch" to ticket [2807256fff] added by eriklns 2009-06-16 23:27:21.
--- combobox.tcl	2008-08-21 21:52:31.000000000 +0200
+++ combobox.tcl.orig	2006-09-28 17:46:06.000000000 +0200
@@ -611,13 +611,7 @@
         }
     }
     $path.e selection clear
-	# EL: and don't set the X-selection:
-	#     The purpose of a combobox is to select an item from a list. It is NOT
-	#     to select characters from a string.
-	#     Therefore, also setting the X-selection here, is confusing,
-	#     superfluous and distracting. Besides, I believe it is non-standard
-	#     across platforms.
-	#     
+    $path.e selection range 0 end
 }