fixed Crash when entering backspace in texteditor 84/215184/1
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 2 Oct 2019 08:17:03 +0000 (17:17 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Wed, 2 Oct 2019 08:17:03 +0000 (17:17 +0900)
commit649a87f4a6a31321f0eeb2eeecd0a7b9dd45f570
tree51301cade92b2b5282a79a279586801f12fda93a
parent0a602c27fea0705ff022ae3670622b579f2bd990
fixed Crash when entering backspace in texteditor

If you type text as multiline and then delete the backspace, crash will occur.

    textEditor = TextEditor::New();
    textEditor.SetBackgroundColor( Color::CYAN );
    textEditor.SetSize( 500.f, 500.f );
    textEditor.SetPosition( 100.f, 150.f );
    textEditor.SetAnchorPoint( AnchorPoint::TOP_LEFT );
    stage.Add( textEditor );

Change-Id: I83a6cd986dd646b2c45efffc048e3d36b479ad5f
dali-toolkit/internal/text/text-controller-impl.cpp
dali-toolkit/internal/text/text-controller.cpp