Closed GoogleCodeExporter closed 9 years ago
This is my patch, which is already tested.
Index: src/pinyin_ime.cpp
===================================================================
--- src/pinyin_ime.cpp (revision 50)
+++ src/pinyin_ime.cpp (working copy)
@@ -218,7 +218,8 @@
reset_to_idle_state();
return true;
} else if (key.code == SCIM_KEY_space) {
- choose_candidate(-1);
+ int active_pos = m_cand_view->get_active_candidate_pos();
+ choose_candidate_in_page(active_pos);
return true;
} else if ((ch >= 'a' && ch <= 'z') ||
(ch == '\'' && !m_dec_info->char_before_cursor_is_separator()) ||
@@ -266,7 +267,8 @@
reset_to_idle_state();
return true;
} else if (key.code == SCIM_KEY_space) {
- choose_candidate(-1);
+ int active_pos = m_cand_view->get_active_candidate_pos();
+ choose_candidate_in_page(active_pos);
return true;
}
return true;
Original comment by firstfan
on 11 Dec 2009 at 1:44
thanks gracegreener and firstfan!
i fixed it in another way to keep it aligned with the original java code. =)
@grace
thanks a lot for reporting the bugs with detailed information, and in both
Chinese
and English! =)
I can read in both of them. If you will report more bugs, maybe you can simply
post
it in one language. =)
Original comment by tchai...@gmail.com
on 21 Dec 2009 at 4:34
Original issue reported on code.google.com by
gracegre...@gmail.com
on 28 Oct 2009 at 4:31