From ef3b0c5794e0e255465d5511deaa0875eeef73a8 Mon Sep 17 00:00:00 2001 From: InHong Han Date: Fri, 18 Oct 2019 15:17:58 +0900 Subject: [PATCH] Modified the default style of the preedit from underline to none style Change-Id: I952f6774b81544a86055f972b1c5c647ef155aa0 --- ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp index 0246c03..f818d57 100644 --- a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp +++ b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp @@ -1940,14 +1940,14 @@ wsc_send_preedit_style (WSCContextISF* wsc_ctx) } } } - // Add underline for all characters which don't have attribute. + // Setting default style for all characters which don't have attribute. for (unsigned int pos = 0; pos < mbs.length (); ++pos) { if (!attrs_flag [pos]) { int begin_pos = pos; while (pos < mbs.length () && !attrs_flag [pos]) ++pos; - // use REVERSE style as default - preedit_style = WL_TEXT_INPUT_PREEDIT_STYLE_UNDERLINE; + + preedit_style = WL_TEXT_INPUT_PREEDIT_STYLE_DEFAULT; start_index = begin_pos; end_index = pos; -- 2.7.4