Merge "(TextInput) Emits text modified signal when cut or paste performed" into tizen submit/tizen/20140910.172931 submit/tizen/20140910.173014
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 10 Sep 2014 14:46:40 +0000 (07:46 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 10 Sep 2014 14:46:40 +0000 (07:46 -0700)
base/dali-toolkit/internal/controls/text-input/text-input-impl.cpp

index 44c5aaf..4d52116 100644 (file)
@@ -2635,6 +2635,8 @@ void TextInput::DeleteHighlightedText( bool inheritStyle )
 
     RemoveHighlight();
 
+    EmitTextModified();
+
     if( inheritStyle )
     {
       const TextStyle oldInputStyle( mInputStyle );
@@ -4802,6 +4804,7 @@ void TextInput::PasteText( const Text& text )
   if( update )
   {
     CursorUpdate();
+    EmitTextModified();
   }
 
   if( insertedStringLength < text.GetLength() )