[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scrolling/keeping textArea down
[Thread Prev] | [Thread Next]
- Subject: Re: Scrolling/keeping textArea down
- From: Admin <admin@xxxxxxxxxx>
- Date: Tue, 23 Sep 2025 23:07:43 +0700
- To: user@xxxxxxxxxxxxxxxxxxxxxx
23.09.2025 22:55, Lee пишет:
On 9/23/25 11:45 AM, Admin wrote: [snip]>>>So basically .Insert does not place a cursor to the end of the text in a textArea where it inserts.I think that if you check the value of .Pos after an .Insert(), you will see that the cursor position is indeed changed appropriately.
yes, seems to be so.
When I add text to a TextArea with either .Insert() or the '&=' operator, I don't even need to call .EnsureVisible(). The text is scrolled to the bottom as needed.And now I cannot reproduce that behavior. However, .EnsureVisible() works with GTK3, Qt5, and Qt6.
well...
As I've said before, my problem seems to really be not about cursor position, i can check manually that it is where it needs to be, with or without setting .Pos. It's just that EnsureVisible doesn't scroll there. It seems to be scrolling randomly, I can't see any correlation. I'll be digging into this more.[snip]>> So, there should be no need toset .Pos explicitly prior to calling .EnsureVisible().Have you tried not setting .Pos explicitly?
Re: Scrolling/keeping textArea down | Bruce Steers <bsteers4@xxxxxxxxx> |
Scrolling/keeping textArea down | Admin <admin@xxxxxxxxxx> |
Re: Scrolling/keeping textArea down | Lee <t.lee.davidson@xxxxxxxxx> |
Re: Scrolling/keeping textArea down | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: Scrolling/keeping textArea down | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: Scrolling/keeping textArea down | Admin <admin@xxxxxxxxxx> |
Re: Scrolling/keeping textArea down | Admin <admin@xxxxxxxxxx> |
Re: Scrolling/keeping textArea down | Lee <t.lee.davidson@xxxxxxxxx> |
Re: Scrolling/keeping textArea down | Admin <admin@xxxxxxxxxx> |
Re: Scrolling/keeping textArea down | Lee <t.lee.davidson@xxxxxxxxx> |