• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OpenTweenのfork


Commit MetaInfo

修訂10dfb9dd9f44538c98ecf8e7edd3afb57a59f5c5 (tree)
時間2012-04-08 21:13:30
作者Kimura Youichi <kim.upsilon@bucy...>
CommiterKimura Youichi

Log Message

いくつかのショートカットキーが正常に動作しない問題を修正

Change Summary

差異

--- a/OpenTween/Resources/ChangeLog.txt
+++ b/OpenTween/Resources/ChangeLog.txt
@@ -2,7 +2,7 @@
22
33 ==== Ver 1.0.1-beta1(2012/xx/xx)
44 * FIX: OpenTweenアイコンが表示方法によって低解像度で表示されてしまう問題を修正
5- * FIX: リスト表示上のショートカットキー「h」「l」が動作しない問題を修正
5+ * FIX: リスト表示上での一部のショートカットキーが動作しない問題を修正
66 * FIX: 「常に最前面に表示」が有効な状態でバージョン情報ダイアログを表示できない問題を修正
77 * FIX: 「最小化したときにアイコン化する」が強制的にオンになる問題を修正
88 * FIX: 発言詳細部においてUnicodeで追加された一部の文字が正しく表示されない問題を修正
--- a/OpenTween/Tween.cs
+++ b/OpenTween/Tween.cs
@@ -5614,7 +5614,7 @@ namespace OpenTween
56145614 {
56155615 cidx = _curList.SelectedIndices[0];
56165616 }
5617- toIdx = _curList.VirtualListSize - 1;
5617+ toIdx = _curList.VirtualListSize;
56185618
56195619 switch (SType)
56205620 {
@@ -5645,7 +5645,7 @@ namespace OpenTween
56455645 {
56465646 cidx = toIdx;
56475647 }
5648- toIdx = 0;
5648+ toIdx = -1;
56495649 stp = -1;
56505650 break;
56515651 }
@@ -5667,7 +5667,7 @@ namespace OpenTween
56675667 try
56685668 {
56695669 _search = new Regex(_word, regOpt);
5670- for (int idx = cidx; idx <= toIdx; idx += stp)
5670+ for (int idx = cidx; idx != toIdx; idx += stp)
56715671 {
56725672 PostClass post;
56735673 try
@@ -5697,7 +5697,7 @@ namespace OpenTween
56975697 else
56985698 {
56995699 // 通常検索
5700- for (int idx = cidx; idx <= toIdx; idx += stp)
5700+ for (int idx = cidx; idx != toIdx; idx += stp)
57015701 {
57025702 PostClass post;
57035703 try
@@ -7015,7 +7015,7 @@ namespace OpenTween
70157015 fIdx = _curList.SelectedIndices[0] + 1;
70167016 if (fIdx > _curList.VirtualListSize - 1) return;
70177017 }
7018- toIdx = _curList.VirtualListSize - 1;
7018+ toIdx = _curList.VirtualListSize;
70197019 stp = 1;
70207020 }
70217021 else
@@ -7029,11 +7029,11 @@ namespace OpenTween
70297029 fIdx = _curList.SelectedIndices[0] - 1;
70307030 if (fIdx < 0) return;
70317031 }
7032- toIdx = 0;
7032+ toIdx = -1;
70337033 stp = -1;
70347034 }
70357035
7036- for (int idx = fIdx; idx == toIdx; idx += stp)
7036+ for (int idx = fIdx; idx != toIdx; idx += stp)
70377037 {
70387038 if (_statuses[_curTab.Text, idx].IsFav)
70397039 {
@@ -7068,7 +7068,7 @@ namespace OpenTween
70687068 {
70697069 fIdx = ListTab.SelectedIndex - 1;
70707070 }
7071- toIdx = 0;
7071+ toIdx = -1;
70727072 stp = -1;
70737073 }
70747074 else
@@ -7082,12 +7082,12 @@ namespace OpenTween
70827082 {
70837083 fIdx = ListTab.SelectedIndex + 1;
70847084 }
7085- toIdx = ListTab.TabCount - 1;
7085+ toIdx = ListTab.TabCount;
70867086 stp = 1;
70877087 }
70887088
70897089 bool found = false;
7090- for (int tabidx = fIdx; tabidx == toIdx; tabidx += stp)
7090+ for (int tabidx = fIdx; tabidx != toIdx; tabidx += stp)
70917091 {
70927092 if (_statuses.Tabs[ListTab.TabPages[tabidx].Text].TabType == MyCommon.TabUsageType.DirectMessage) continue; // Directタブは対象外
70937093 for (int idx = 0; idx < ((DetailsListView)ListTab.TabPages[tabidx].Tag).VirtualListSize; idx++)
@@ -7117,14 +7117,14 @@ namespace OpenTween
71177117 {
71187118 fIdx = _curList.SelectedIndices[0] + 1;
71197119 if (fIdx > _curList.VirtualListSize - 1) return;
7120- toIdx = _curList.VirtualListSize - 1;
7120+ toIdx = _curList.VirtualListSize;
71217121 stp = 1;
71227122 }
71237123 else
71247124 {
71257125 fIdx = _curList.SelectedIndices[0] - 1;
71267126 if (fIdx < 0) return;
7127- toIdx = 0;
7127+ toIdx = -1;
71287128 stp = -1;
71297129 }
71307130
@@ -7171,14 +7171,14 @@ namespace OpenTween
71717171 {
71727172 fIdx = _curList.SelectedIndices[0] + 1;
71737173 if (fIdx > _curList.VirtualListSize - 1) return;
7174- toIdx = _curList.VirtualListSize - 1;
7174+ toIdx = _curList.VirtualListSize;
71757175 stp = 1;
71767176 }
71777177 else
71787178 {
71797179 fIdx = _curList.SelectedIndices[0] - 1;
71807180 if (fIdx < 0) return;
7181- toIdx = 0;
7181+ toIdx = -1;
71827182 stp = -1;
71837183 }
71847184
@@ -7193,7 +7193,7 @@ namespace OpenTween
71937193 if (_anchorPost == null) return;
71947194 }
71957195
7196- for (int idx = fIdx; ; idx += stp)
7196+ for (int idx = fIdx; idx != toIdx; idx += stp)
71977197 {
71987198 PostClass post = _statuses[_curTab.Text, idx];
71997199 if (post.ScreenName == _anchorPost.ScreenName ||
@@ -7209,8 +7209,6 @@ namespace OpenTween
72097209 _curList.EnsureVisible(idx);
72107210 break;
72117211 }
7212-
7213- if (idx == toIdx) break;
72147212 }
72157213 }
72167214