py_ext/PythonEditor.py
changeset 751 a8dace95f965
parent 743 4645a3a398ad
child 753 05502e574589
equal deleted inserted replaced
749:050f5a001826 751:a8dace95f965
   294         if self.CurrentAction != None:
   294         if self.CurrentAction != None:
   295             self.Controler.EndBuffering()
   295             self.Controler.EndBuffering()
   296             self.CurrentAction = None
   296             self.CurrentAction = None
   297 
   297 
   298     def RefreshView(self):
   298     def RefreshView(self):
       
   299         ConfTreeNodeEditor.RefreshView(self)
       
   300         
   299         self.ResetBuffer()
   301         self.ResetBuffer()
   300         self.DisableEvents = True
   302         self.DisableEvents = True
   301         old_cursor_pos = self.ConfNodeEditor.GetCurrentPos()
   303         old_cursor_pos = self.ConfNodeEditor.GetCurrentPos()
   302         old_text = self.ConfNodeEditor.GetText()
   304         old_text = self.ConfNodeEditor.GetText()
   303         new_text = self.Controler.GetPythonCode()
   305         new_text = self.Controler.GetPythonCode()