How can I use both the line number and the read only proxies in the same Tkinter text widget? I can get both visible, but either one or the other works. I assume the problem is in the code piece below that is identical for both:
self.tk.eval('''
rename {widget} _{widget}
interp alias {{}} ::{widget} {{}} widget_proxy _{widget}
'''.format(widget=str(self)))
The following makes only the read-only part work, switching the order makes Custom Text work.
class TextOfBryan(ReadOnly, CustomText):
pass
When I copy/paste the content of both classes into one I get an error that a name ".xxxx.xxxx" already exists and connot be renamed.