The attached patch fixes item 3021557:
Moving the cursor in elided text freezes Tk:
The patch is against the latest Fossil sources.
The existing text.test suite passes with no failure (but one completely unrelated: text-33.11).
I have added one test item for issue 3021557 that the patch is fixing.