[NUI] Change SelectedTextStart, SelectedTextEnd to read-only
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 10 Sep 2021 07:31:18 +0000 (16:31 +0900)
committerSeoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Mon, 13 Sep 2021 07:33:23 +0000 (16:33 +0900)
The setter of this properties can be replaced with the
SelectText(int start, int end) method.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs

index aac7d7b..b451a4d 100755 (executable)
@@ -1389,11 +1389,6 @@ namespace Tizen.NUI.BaseComponents
                 GetProperty(TextEditor.Property.SelectedTextStart).Get(out temp);
                 return temp;
             }
-            set
-            {
-                SetProperty(TextEditor.Property.SelectedTextStart, new PropertyValue(value));
-                NotifyPropertyChanged();
-            }
         }
 
         /// <summary>
@@ -1410,11 +1405,6 @@ namespace Tizen.NUI.BaseComponents
                 GetProperty(TextEditor.Property.SelectedTextEnd).Get(out temp);
                 return temp;
             }
-            set
-            {
-                SetProperty(TextEditor.Property.SelectedTextEnd, new PropertyValue(value));
-                NotifyPropertyChanged();
-            }
         }
 
         /// <summary>
index 3724b2c..64db893 100755 (executable)
@@ -1603,11 +1603,6 @@ namespace Tizen.NUI.BaseComponents
                 GetProperty(TextField.Property.SelectedTextStart).Get(out temp);
                 return temp;
             }
-            set
-            {
-                SetProperty(TextField.Property.SelectedTextStart, new PropertyValue(value));
-                NotifyPropertyChanged();
-            }
         }
 
         /// <summary>
@@ -1624,11 +1619,6 @@ namespace Tizen.NUI.BaseComponents
                 GetProperty(TextField.Property.SelectedTextEnd).Get(out temp);
                 return temp;
             }
-            set
-            {
-                SetProperty(TextField.Property.SelectedTextEnd, new PropertyValue(value));
-                NotifyPropertyChanged();
-            }
         }
 
         /// <summary>