diff options
author | Peng Wu <alexepico@gmail.com> | 2015-06-19 13:09:16 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-06-19 13:09:16 +0800 |
commit | 0d92d8536cd1fe5e4e284b407dd2f98445234cac (patch) | |
tree | a7c6d3ff41c68ca318312f1d36d9110dbcd1117d | |
parent | c20d1a3776430ff6ebd6c57a3a1778a83549356d (diff) | |
download | ibus-libzhuyin-0d92d8536cd1fe5e4e284b407dd2f98445234cac.tar.gz ibus-libzhuyin-0d92d8536cd1fe5e4e284b407dd2f98445234cac.tar.xz ibus-libzhuyin-0d92d8536cd1fe5e4e284b407dd2f98445234cac.zip |
restore updateZhuyin method
-rw-r--r-- | src/ZYZZhuyinEditor.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ZYZZhuyinEditor.cc b/src/ZYZZhuyinEditor.cc index a0f004c..26fc028 100644 --- a/src/ZYZZhuyinEditor.cc +++ b/src/ZYZZhuyinEditor.cc @@ -87,21 +87,6 @@ ZhuyinEditor::updateZhuyin (void) (instance, section.c_str ()); zhuyin_guess_sentence (instance); - /* check whether the last character is space, - if not part of parsed chewing input, - turn the space into symbol. */ - if (end_pos == m_text.size () && - ' ' == section[section.size () - 1] && - section.size () > len) { - size_t length = get_enhanced_text_length (m_text); - erase_input_sequence (m_text, length - 1, 1); - insert_symbol (m_text, length - 1, BUILTIN_SYMBOL_TYPE, - "", " "); - /* as we changed the last space character, - reached the end of user input, exit the loop. */ - break; - } - ++index; } |