Improve marker line behavior; allow manual setting (Ctrl+R)
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 26 Apr 2010 19:11:29 +0000 (21:11 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 1 May 2010 16:01:01 +0000 (18:01 +0200)
commit9da8a8a14a39bffe74403001978a13cc8b130138
treee3189733fd14ae3afc8f455a4dc40a142283efe6
parente19eef8ec30a926e5a847a7570bb966bc86f602e
Improve marker line behavior; allow manual setting (Ctrl+R)

The marker line will now be set to the bottom of the current chatview rather than
to the very bottom of the chatview when it makes sense. So if you didn't scroll all
the way down, and switch channels, you can start off where you left reading.

Also there's now an option to disable the automatic setting of the marker line completely.
Using Ctrl+R, you can manually set the marker line to the bottom of the ChatView.

This requires a recent core (older cores will still work, but only show the old behavior).
12 files changed:
src/client/client.cpp
src/client/client.h
src/client/networkmodel.cpp
src/client/networkmodel.h
src/common/buffersyncer.cpp
src/common/buffersyncer.h
src/qtui/bufferwidget.cpp
src/qtui/bufferwidget.h
src/qtui/settingspages/chatviewsettingspage.cpp
src/qtui/settingspages/chatviewsettingspage.ui
src/uisupport/abstractbuffercontainer.cpp
src/uisupport/abstractbuffercontainer.h