diff -r 40b91ba978db -r e6faee0c271b TextViewer.py --- 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])