Fix issue in Selection with negative line spacing 09/271609/7
authorabdullah <abdullahhasan10@gmail.com>
Wed, 23 Feb 2022 09:01:49 +0000 (11:01 +0200)
committerabdullah <abdullahhasan10@gmail.com>
Sun, 27 Feb 2022 08:02:27 +0000 (11:02 +0300)
commit9f41a0812c57d92f166e0ecbb8bf3c8801834b89
treec6b453f977b1be6a7b02ba0a09ca8343912d3249
parent7946b5a1a7188e31803ac8de5c4a8ea3cbc560cc
Fix issue in Selection with negative line spacing

this will fix the selection highlighting height & grape handles position.

Editor.SetProperty(TextEditor::Property::TEXT, "A<font size=40>B</font>\nCD");
Editor.SetProperty(TextEditor::Property::LINE_SPACING, -20);

Change-Id: I08dad34722584ff7d3815cd4f8a7b577be6d81cf
automated-tests/src/dali-toolkit/utc-Dali-TextEditor.cpp
dali-toolkit/internal/text/cursor-helper-functions.cpp
dali-toolkit/internal/text/text-selection-handle-controller.cpp