octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: History window scrolling after command is issued


From: Daniel J Sebald
Subject: Re: History window scrolling after command is issued
Date: Thu, 08 Aug 2013 12:03:55 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 08/08/2013 09:01 AM, John W. Eaton wrote:
On 08/08/2013 02:57 AM, Daniel J Sebald wrote:
Would anyone mind if the GUI history window scrolling to bottom in
history_dock_widget::append_history, i.e.,

_history_list_view->scrollToBottom ();

were removed? I think it is much more useful to not do that unless
perhaps the window is already scrolled to the bottom. Imagine searching
for a string of commands in history that one wants to selectively pick
through. Clicking on the first command will scroll the screen
necessitating scrolling back up to where one was. That's no fun.

It would be OK with me if it did not scroll when it is not at the
bottom. But if it is at the bottom, then new entries should be visible.
That's why I added the call to scrollToBottom. Otherwise, it seemed that
new entries were not added to the list.

I can see that.  Could we experiment with an algorithm like here:

https://savannah.gnu.org/bugs/index.php?39731

? If the scrollbar slider is close to the bottom, the automatic scroll-to-bottom will occur, otherwise not.

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]