...
Move the python editing key handling into the python smarts module so that it is available for all text edit instances