On 04/09/19 09:39PM, Bert Wesarg wrote: > On Tue, Sep 3, 2019 at 7:15 PM Pratyush Yadav <me@xxxxxxxxxxxxxxxxx> wrote: > > > > On 02/09/19 09:13PM, Bert Wesarg wrote: [snip] > > > > One more observation: > > > > If I write a particularly long line (and consequently the scrollbar > > becomes active), and then hit Ctrl+A to select all text, and then > > backspace to delete it all, the scrollbar does not get updated. It still > > shows the old position where is is "scrolled" halfway through. As soon > > as I type in any other character, it takes the correct state, and > > becomes disabled. > > > > The vertical scrollbar behaves correctly in this scenario, and does take > > the correct state and position as soon as I delete all text, so I > > suspect it should be a small fix. Maybe a missed option or something > > like that? > > While I can reproduce this, I don't figured out what is wrong here. I > tried a minimal example and this also fails. The yScrollCommand is > issued, but the xScrollCommand not. I have tcl/tk 8.6.8 on Linux. Well, I don't think this is a big enough problem to block this patch, but still something that should ideally be fixed. I have a really busy week/weekend coming up, so I won't really be able to devote much time to this. I'll see if I can figure something out after that. I'll wait for some comments on your patches, and then get around to reading them myself when I get some more time. Thanks. -- Regards, Pratyush Yadav