Am 24.10.2023 um 21:05 schrieb Alexandru:
Is there an alternative to using the standard text widget for showing file content as in a simple text editor?
I'm asking this due the enormous performance issue when lond lines of text exist in the file.
It seems like the command
$text insert 1.0 $content
takes forever.
I guess this issue is known already, are there any workarounds (other widgets)?
Thanks
Alexandru
Yes! Use, what is known, as the new text widget.
The current text widget can freeze for minutes in the elided text
algorithm (making word-break).
The tags in the tk fossil are "revised_text" and tip-466, which proposes
this text widget.
We all would love this in Tk. But there are incompatibilities...
Take care,
Harald
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)