Support the strikethrough and its attribute in span tag 17/272017/9
authorssabah <s.sabah@samsung.com>
Sun, 6 Mar 2022 15:14:19 +0000 (18:14 +0300)
committerssabah <s.sabah@samsung.com>
Wed, 23 Mar 2022 06:32:25 +0000 (09:32 +0300)
commite6c8fad2c1ee24ce368976221941dfec12290b29
tree826bc82577734c5c2c18cfbb26ada93812f93981
parent6877b751dc17e58428b7ae6ea35bbef6c030453c
Support the strikethrough and its attribute in span tag

The attributes of strikethrough :
  - s-color

How to apply it in TextEditor:

  textEditor.SetProperty(Dali::Toolkit::TextEditor::Property::TEXT, "<span s-color='blue'> hello world span tag </span>nothing<s color='green'> hello world s tag </s> ");
  textEditor.SetProperty(Dali::Toolkit::TextEditor::Property::ENABLE_MARKUP, true);

This patch should be preceded by the patch below:
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/272018

Change-Id: I87bdf96565a22d90d9f1d1000cb719fbfd6dbc84
automated-tests/src/dali-toolkit-internal/utc-Dali-TextEditor-internal.cpp
automated-tests/src/dali-toolkit-internal/utc-Dali-TextField-internal.cpp
automated-tests/src/dali-toolkit-internal/utc-Dali-TextLabel-internal.cpp
dali-toolkit/internal/text/markup-processor-span.cpp
dali-toolkit/internal/text/markup-processor-span.h
dali-toolkit/internal/text/markup-processor.cpp