Change-Id: I0866022f99c09d9812bf423c2f66b4b8c9755f54
+2013-05-31 20:10 li2012.zhang@samsung.com
+
+ * Hide candidate in NUMBERONLY layout
+
2013-01-28 15:21 li2012.zhang@samsung.com
* Disable AUTO_COMMIT and SELECT_KEYS for ZhuYin-Big
2013-01-28 15:21 li2012.zhang@samsung.com
* Disable AUTO_COMMIT and SELECT_KEYS for ZhuYin-Big
# Process this file with autoconf to produce a configure script.
#AC_INIT(scim-tables, 0.5.10, suzhe@tsinghua.org.cn) #do not forget to edit skim/configure.in.in to change the version
# Process this file with autoconf to produce a configure script.
#AC_INIT(scim-tables, 0.5.10, suzhe@tsinghua.org.cn) #do not forget to edit skim/configure.in.in to change the version
-AC_INIT(ise-engine-tables-zh, 0.0.0228, li2012.zhang@samsung.com)
+AC_INIT(ise-engine-tables-zh, 0.0.0331, li2012.zhang@samsung.com)
AC_CONFIG_SRCDIR([src/scim_table_imengine.h])
ISF_VERSION=1.0.0
AC_CONFIG_SRCDIR([src/scim_table_imengine.h])
ISF_VERSION=1.0.0
%define nam ise-engine-tables
%define nam ise-engine-tables
%define isf_version 1.0.0
%define build_scim_setup 0
%define ENABLE_JA 0
%define isf_version 1.0.0
%define build_scim_setup 0
%define ENABLE_JA 0
m_single_quotation_state (false),
m_forward (false),
m_focused (false),
m_single_quotation_state (false),
m_forward (false),
m_focused (false),
- m_lookup_table_always_on (false),
m_inputing_caret (0),
m_inputing_key (0),
m_iconv (encoding)
m_inputing_caret (0),
m_inputing_key (0),
m_iconv (encoding)
m_inputing_key = 0;
m_iconv.set_encoding (get_encoding ());
m_inputing_key = 0;
m_iconv.set_encoding (get_encoding ());
- if (m_lookup_table_always_on) {
- refresh_lookup_table (true, false);
+ if (!m_forward) {
+ refresh_lookup_table (true, true);
} else {
hide_lookup_table();
}
} else {
hide_lookup_table();
}
case ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBER:
case ECORE_IMF_INPUT_PANEL_LAYOUT_EMAIL:
case ECORE_IMF_INPUT_PANEL_LAYOUT_URL:
case ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBER:
case ECORE_IMF_INPUT_PANEL_LAYOUT_EMAIL:
case ECORE_IMF_INPUT_PANEL_LAYOUT_URL:
- refresh_lookup_table (true, false);
- m_lookup_table_always_on = true;
+ refresh_lookup_table(true,false);
+ show_lookup_table ();
+ m_forward = false;
- case ECORE_IMF_INPUT_PANEL_LAYOUT_PHONENUMBER:
- case ECORE_IMF_INPUT_PANEL_LAYOUT_IP:
- case ECORE_IMF_INPUT_PANEL_LAYOUT_MONTH:
- case ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY:
- m_lookup_table_always_on = false;
- break;
if (show) {
if (m_lookup_table.number_of_candidates () &&
(m_factory->m_table.is_always_show_lookup () ||
if (show) {
if (m_lookup_table.number_of_candidates () &&
(m_factory->m_table.is_always_show_lookup () ||
m_inputing_caret < m_inputted_keys [m_inputing_key].length () ||
m_converted_strings.size () < m_inputted_keys.size () - 1)) {
update_lookup_table (m_lookup_table);
m_inputing_caret < m_inputted_keys [m_inputing_key].length () ||
m_converted_strings.size () < m_inputted_keys.size () - 1)) {
update_lookup_table (m_lookup_table);
- } else {
- if(m_inputted_keys.size ())
+ } else {
+ if (m_inputted_keys.size () &&
+ (m_inputing_caret || m_lookup_table.number_of_candidates ()))
{
m_lookup_table.clear ();
update_lookup_table (m_lookup_table);
{
m_lookup_table.clear ();
update_lookup_table (m_lookup_table);
else
update_lookup_table (m_common_lookup_table);
}
else
update_lookup_table (m_common_lookup_table);
}
bool m_forward;
bool m_focused;
bool m_forward;
bool m_focused;
- bool m_lookup_table_always_on;
-
std::vector<String> m_inputted_keys;
std::vector<WideString> m_converted_strings;
std::vector<uint32> m_converted_indexes;
std::vector<String> m_inputted_keys;
std::vector<WideString> m_converted_strings;
std::vector<uint32> m_converted_indexes;