| |
---|
| | } |
---|
| | return true; |
---|
| | } else |
---|
| | |
---|
| | // 文字種トグルキー |
---|
| | if (k_convert_ctype.comp(key)) { |
---|
| | // m_no_updateをチェックし、文字種リストをでっちあげる。 |
---|
| | // 文節毎のエンジン切り替え時は働かない。 |
---|
| | if (m_no_update) { |
---|
| | m_convList.pos ++; |
---|
| | if (m_convList.pos >= m_convList.count()) m_convList.pos = 0; |
---|
| | updateConversion(); |
---|
| | return true; |
---|
| | } |
---|
| | m_no_update = true; |
---|
| | pString = m_convList.Yomi; |
---|
| | WideString t; |
---|
| | int dp; |
---|
| | m_convList.kouho.clear(); |
---|
| | t = pString; |
---|
| | PreEditor::convKataHira(t); |
---|
| | m_convList.kouho.push_back(ResultEntry(t)); |
---|
| | t = pString; |
---|
| | PreEditor::convHiraKata(t); |
---|
| | m_convList.kouho.push_back(ResultEntry(t)); |
---|
| | t = pString; |
---|
| | PreEditor::convZenHan(t,dp); |
---|
| | m_convList.kouho.push_back(ResultEntry(t)); |
---|
| | t = pString; |
---|
| | PreEditor::convHanZen(t,dp); |
---|
| | m_convList.kouho.push_back(ResultEntry(t)); |
---|
| | m_lookup = false; |
---|
| | updateConversion(); |
---|
| | return true; |
---|
| | } else |
---|
| | |
---|
| | // 次/前変換エンジン切り替えキー。 |
---|
| | if ((k_next_convertor.comp(key) || k_prev_convertor.comp(key)) && (m_convertor != m_multi)) { |
---|
| | for(unsigned int i = 0;i < convertors.size();i ++) { |
---|
| | if (convertors[i]->getName() == m_convertor->getName()) { |
---|
| |
---|
| | |