From: sungwook79.park Date: Wed, 27 Sep 2017 07:03:32 +0000 (+0900) Subject: [Inputmethod] Modify Property name X-Git-Tag: preview1-00257~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F152810%2F2;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Inputmethod] Modify Property name Change-Id: Ib68a655482ddb676443db8aa2caaf2bc197c34e1 Signed-off-by: sungwook79.park --- diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/DisplayLanaguageChangedEventArgs.cs b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/DisplayLanaguageChangedEventArgs.cs index b0712f3..9f4dd8c 100755 --- a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/DisplayLanaguageChangedEventArgs.cs +++ b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/DisplayLanaguageChangedEventArgs.cs @@ -17,11 +17,11 @@ namespace Tizen.Uix.InputMethod { /// - /// This Class contains data related to DisplayLanaguageChanged Event + /// This Class contains data related to DisplayLanguageChanged Event /// - public class DisplayLanaguageChangedEventArgs + public class DisplayLanguageChangedEventArgs { - internal DisplayLanaguageChangedEventArgs(string langauage) + internal DisplayLanguageChangedEventArgs(string langauage) { Langauage = langauage; } diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs index dc48ce4..e3e5534 100755 --- a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs +++ b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs @@ -979,8 +979,8 @@ namespace Tizen.Uix.InputMethod private static event EventHandler _returnKeyStateSet; private static ImeReturnKeyStateSetCb _imeReturnKeyStateSetDelegate; private static ImeProcessKeyEventCb _imeProcessKeyDelegate; - private static event EventHandler _displayLanaguageChanged; - private static ImeDisplayLanguageChangedCb _imeDisplayLanaguageChangedDelegate; + private static event EventHandler _displayLanguageChanged; + private static ImeDisplayLanguageChangedCb _imeDisplayLanguageChangedDelegate; private static event EventHandler _rotationDegreeChanged; private static ImeRotationChangedCb _imeRotationChangedDelegate; private static event EventHandler _accessibilityStateChanged; @@ -1437,27 +1437,27 @@ namespace Tizen.Uix.InputMethod } /// - /// Called when the system display language is changed. + /// Called when the system display Language is changed. /// - public static event EventHandler DisplayLanaguageChanged + public static event EventHandler DisplayLanguageChanged { add { lock (thisLock) { - _imeDisplayLanaguageChangedDelegate = (IntPtr language, IntPtr userData) => + _imeDisplayLanguageChangedDelegate = (IntPtr language, IntPtr userData) => { - DisplayLanaguageChangedEventArgs args = new DisplayLanaguageChangedEventArgs(Marshal.PtrToStringAnsi(language)); - _displayLanaguageChanged?.Invoke(null, args); + DisplayLanguageChangedEventArgs args = new DisplayLanguageChangedEventArgs(Marshal.PtrToStringAnsi(language)); + _displayLanguageChanged?.Invoke(null, args); }; - ErrorCode error = ImeEventSetDisplayLanguageChangedCb(_imeDisplayLanaguageChangedDelegate, IntPtr.Zero); + ErrorCode error = ImeEventSetDisplayLanguageChangedCb(_imeDisplayLanguageChangedDelegate, IntPtr.Zero); if (error != ErrorCode.None) { - Log.Error(LogTag, "Add DisplayLanaguageChanged Failed with error " + error); + Log.Error(LogTag, "Add DisplayLanguageChanged Failed with error " + error); } else { - _displayLanaguageChanged += value; + _displayLanguageChanged += value; } } } @@ -1465,7 +1465,7 @@ namespace Tizen.Uix.InputMethod { lock (thisLock) { - _displayLanaguageChanged -= value; + _displayLanguageChanged -= value; } } }