Don't hide insert cursor during debugging
Otherwise "run to cursor" feels weird
@@ -174,18 +174,6 @@ class CodeViewText(EnhancedTextWithLogging, PythonText):
super().on_secondary_click(event)
get_workbench().get_menu("edit").tk_popup(event.x_root, event.y_root)
- def set_read_only(self, value):
- super().set_read_only(value)
-
- if value:
- if self["insertwidth"] > 0:
- self._regular_insertwidth = self["insertwidth"]
- self.configure(insertwidth=0)
- else:
- self.configure(insertwidth=self._regular_insertwidth)
-
-
-
class CodeView(tktextext.TextFrame):
def __init__(self, master, propose_remove_line_numbers=False, **text_frame_args):
