TextViewer.py
changeset 122 e6faee0c271b
parent 121 40b91ba978db
child 125 394d9f168258
--- a/TextViewer.py	Fri Nov 16 17:43:32 2007 +0100
+++ b/TextViewer.py	Mon Nov 19 10:02:35 2007 +0100
@@ -218,6 +218,8 @@
         if isinstance(values, tuple):
             if values[1] in ["functionBlock", "program", "location"]:
                 event.SetDragText("")
+            elif values[1] == "function":
+                event.SetDragText(values[0])
             elif values[1] != "location":
                 if values[3] == self.TagName:
                     event.SetDragText(values[0])