|
From: Marc C. <cul...@gm...> - 2025-12-08 00:11:52
|
Eric, You created a fork in the main branch when you merged the code for TIP #742. Please close it. - Marc On Fri, Dec 5, 2025 at 2:10 PM EricT <tw...@gm...> wrote: > Harald, > > Thanks for sponsoring the TIP 742. > > I've created a local implementation branch for TIP #742 (Add Mouse Wheel > Zoom Support to Tk Console), but I don't have write access to push it to > the core repository. > > Attached is the patch file with the implementation. The changes are > minimal - just adding a Control+MouseWheel binding to library/console.tcl > that generates the existing <<Console_FontSizeIncr>> and > <<Console_FontSizeDecr>> virtual events. > > Could someone with write access please create the implementation branch > tip-742-mousewheel-zoom and apply this patch? > > > Regards, the console freezing. Yes, it is a definite no-no to create very > long lines, as for example, [string repeat xyz 25000] will pretty much > kill the console. However, this is not very common for debugging output. In > that case, when I would output quite a bit of text, from say a trace, the > console killer then would be when the text widget would try to do the "see" > operation on each line to position to the end of the text widget. > > This I avoid by only doing a single "see" every 100 ms or so. Then in that > context, I have good performance. But it only addresses the one problem > where I'm doing thousands of relatively short lines (100 chars or less per > line). > > I would consider this more of a hack, not a real solution to address > console performance. > > Thanks > Eric > > > On Fri, Dec 5, 2025 at 2:04 AM Harald Oehlmann < > har...@el...> wrote: > >> Eric has authored this TIP: >> >> https://core.tcl-lang.org/tips/doc/trunk/tip/742.md >> >> I think, this is a good idea. >> Is the unix console ready? Any action there? >> >> Eric, I sponsor your TIP. >> Can you make an implementation branch and a call for discussion, then >> vote? >> >> There was the discussion on the revised text widget on c.l.t. The >> console uses the text widget. >> You had a contribution there. >> >> What I see with the console: >> - lots of content with very long lines. >> - You resize the widget or scale the font >> - The widget freezes as the line break algorithm has to run. To my >> knowledge, this is very fast with the revised text widget. >> >> You had a proposal on c.l.t. Perhaps, this may also be added here. >> >> Thanks, >> Harald >> >> _______________________________________________ >> Tcl-Core mailing list >> Tcl...@li... >> https://lists.sourceforge.net/lists/listinfo/tcl-core >> > _______________________________________________ > Tcl-Core mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-core > |