Modified the default style of the preedit from underline to none style 00/216000/1
authorInHong Han <inhong1.han@samsung.com>
Fri, 18 Oct 2019 06:17:58 +0000 (15:17 +0900)
committerInHong Han <inhong1.han@samsung.com>
Fri, 18 Oct 2019 06:17:58 +0000 (15:17 +0900)
Change-Id: I952f6774b81544a86055f972b1c5c647ef155aa0

ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp

index 0246c03..f818d57 100644 (file)
@@ -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;