summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_text_markup.eo
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-09-25 19:21:21 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-09-28 19:32:02 +0300
commit69d0646b33f932194a59f1f3499c45591b92be96 (patch)
tree7ee1f7b35dcaca10224e0ab787df34dfd5f298b9 /src/lib/efl/interfaces/efl_text_markup.eo
parentbc8b2857c1c1270d32e1d1014ca93631e7f5dea7 (diff)
Efl text: add Efl.Text.Markup interface
Adds basic markup operations for text objects, and implements it in Efl.Canvas.Text. Also, this adds the Efl.Text.Markup_Util class. This utility class allows basic text-markup conversions. @feature
Diffstat (limited to '')
-rw-r--r--src/lib/efl/interfaces/efl_text_markup.eo21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_text_markup.eo b/src/lib/efl/interfaces/efl_text_markup.eo
new file mode 100644
index 0000000000..99ea34b4ba
--- /dev/null
+++ b/src/lib/efl/interfaces/efl_text_markup.eo
@@ -0,0 +1,21 @@
1interface Efl.Text.Markup(Efl.Text.Cursor) {
2 [[Markup data that populates the text object's style and format
3
4 @since 1.21
5 ]]
6 methods {
7 @property markup {
8 values {
9 markup: string; [[The markup-text representation set to this text.]]
10 }
11 }
12 cursor_markup_insert {
13 [[Inserts a markup text to the text object in a given cursor position]]
14 params {
15 cur: ptr(Efl.Text.Cursor.Cursor); [[Cursor position to insert markup]]
16 @in markup: string; [[The markup text to insert]]
17 }
18 }
19 }
20}
21