linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #05351
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2865: restore chat flickering - the new solution wasn't always scrolling
------------------------------------------------------------
revno: 2865
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Sun 2012-02-12 15:20:18 +0100
message:
restore chat flickering - the new solution wasn't always scrolling
modified:
changelog.txt
dwt/src/widgets/TextBox.cpp
help/settings_expert.html
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt 2012-02-09 19:45:38 +0000
+++ changelog.txt 2012-02-12 14:20:18 +0000
@@ -18,7 +18,6 @@
* Apply user matching definition styles to nicks in chats (poy)
* Fix favorite hub groups on Win XP (poy)
* [L#925659] Safer window cleanup (poy)
-* Reduce chat flickering (bigmuscle)
* [L#923612] Show the last chat line in taskbar previews (poy)
-- 0.791 2012-01-14 --
=== modified file 'dwt/src/widgets/TextBox.cpp'
--- dwt/src/widgets/TextBox.cpp 2012-02-07 19:10:02 +0000
+++ dwt/src/widgets/TextBox.cpp 2012-02-12 14:20:18 +0000
@@ -149,7 +149,14 @@
void TextBoxBase::scrollToBottom() {
// this function takes care of various corner cases (not fully scrolled, scrolled too far...)
- sendMessage(WM_VSCROLL, SB_BOTTOM);
+ auto sel = getCaretPosRange();
+
+ setSelection(length());
+ showCaret();
+
+ // restore the previous selection
+ setSelection(sel.first, sel.second);
+
sendMessage(WM_VSCROLL, SB_BOTTOM);
}
=== modified file 'help/settings_expert.html'
--- help/settings_expert.html 2012-02-04 17:40:35 +0000
+++ help/settings_expert.html 2012-02-12 14:20:18 +0000
@@ -48,7 +48,7 @@
<dt>Max PM windows</dt>
<dd cshelp="IDH_SETTINGS_EXPERT_MAX_PM_WINDOWS">
The maximum amount of <placeholder><a href="window_pm.html">Private Message</a></placeholder>
- windows that are allowed to be opened at the same time. (default: 20)<br/>
+ windows that are allowed to be opened at the same time. (default: 50)<br/>
When a <placeholder><a href="window_pm.html">Private Message</a></placeholder> window can't be
opened because this setting would not be satisfied, the chat message that spawned it will be
shown in its originating <placeholder><a href="window_hub.html">Hub</a></placeholder> window