Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tcl::pTk: replace ROText with approach from Tcl::Tk?

2 views
Skip to first unread message

Christopher Chavez

unread,
Aug 2, 2018, 6:00:02 PM8/2/18
to tc...@perl.org
The ROText approach in Tcl::pTk has some issues that prevent it from being read-only: https://rt.cpan.org/Ticket/Display.html?id=125420

- text is removed by keyboard shortcut for cut
- enter/return/tabs aren’t ignored

The ROText in Tcl::Tk seems to not have any of these issues. I would be interested in copying it over to Tcl::pTk, but would like to check if there’s any known issues that might affect its compatibility with Perl/Tk. I think the snit requirement is fine especially if the fallback approach can be incorporated.


(Sometimes I think it would be great if there was a better way to reuse things in Tcl::pTk from Tcl::Tk and Perl/Tk besides copying them, i.e. a way that keeps track of any changes upstream. It would probably require significant restructuring of all 3 modules, though.)
0 new messages