editors/CodeFileEditor.py
changeset 1846 14b40afccd69
parent 1834 cd42b426028b
child 1847 6198190bc121
--- a/editors/CodeFileEditor.py	Tue Oct 03 16:12:55 2017 +0300
+++ b/editors/CodeFileEditor.py	Tue Oct 03 16:31:31 2017 +0300
@@ -200,7 +200,6 @@
         except Exception:
             values = event.GetDragText()
         if isinstance(values, tuple):
-            message = None
             if values[3] == self.Controler.GetCurrentLocation():
                 self.ResetBuffer()
                 event.SetDragText(values[0])
@@ -339,8 +338,6 @@
             return
 
         elif key == 32 and event.ControlDown():
-            pos = self.GetCurrentPos()
-
             # Tips
             if event.ShiftDown():
                 pass
@@ -619,8 +616,6 @@
         Otherwise default to the default renderer.
         """
 
-        typelist = None
-        accesslist = None
         for row in range(self.GetNumberRows()):
             for col in range(self.GetNumberCols()):
                 editor = None