Skip to content

Commit d0cb9b8

Browse files
Comment unused code in texteditor
1 parent 348b2f4 commit d0cb9b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/robotide/editor/texteditor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,12 +534,14 @@ def on_data_changed(self, message):
534534
pass
535535

536536
def _on_timer(self, event):
537+
"""
537538
if not self.is_focused(): # Was reaching here with contentassist in kweditor
538539
# event.Skip()
539540
# return
540541
# DEBUG: This is important to have changes done from kweditor reflected in texteditor
541542
# for example, a bad library import deleted from kweditor would remain in texteditor
542-
print(f"DEBUG: textedit in loop _on_timer event={event}")
543+
# print(f"DEBUG: textedit in loop _on_timer event={event}")
544+
"""
543545
self._editor.store_position()
544546
self._open_tree_selection_in_editor()
545547
event.Skip()

0 commit comments

Comments
 (0)