diff options
author | Daniel Hirt <hirt.danny@gmail.com> | 2018-09-12 21:17:53 +0300 |
---|---|---|
committer | Daniel Hirt <hirt.danny@gmail.com> | 2018-11-05 17:31:06 +0200 |
commit | 9903e7d556a088751881164c6c3663d12ebf9c05 (patch) | |
tree | 4dea9f14b5d751ac58393cf0ea19397f9ed6226b /src/lib/efl/interfaces | |
parent | 86a8f832ae2b622cd5489e5a01978d494997aaad (diff) |
Text: add markup_range_get
This allows to retrieve the markup representation of the current text.
@feature
Diffstat (limited to 'src/lib/efl/interfaces')
-rw-r--r-- | src/lib/efl/interfaces/efl_text_markup.eo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_text_markup.eo b/src/lib/efl/interfaces/efl_text_markup.eo index 7e2bbaaaee..1fbfd70b35 100644 --- a/src/lib/efl/interfaces/efl_text_markup.eo +++ b/src/lib/efl/interfaces/efl_text_markup.eo | |||
@@ -10,6 +10,17 @@ interface Efl.Text_Markup(Efl.Text_Cursor) { | |||
10 | markup: string; [[The markup-text representation set to this text.]] | 10 | markup: string; [[The markup-text representation set to this text.]] |
11 | } | 11 | } |
12 | } | 12 | } |
13 | @property markup_range { | ||
14 | [[Markup of a given range in the text]] | ||
15 | values { | ||
16 | markup: mstring @owned; [[The markup-text representation set to | ||
17 | this text of a given range]] | ||
18 | } | ||
19 | keys { | ||
20 | start: ptr(Efl.Text_Cursor_Cursor); | ||
21 | end: ptr(Efl.Text_Cursor_Cursor); | ||
22 | } | ||
23 | } | ||
13 | cursor_markup_insert { | 24 | cursor_markup_insert { |
14 | [[Inserts a markup text to the text object in a given cursor position]] | 25 | [[Inserts a markup text to the text object in a given cursor position]] |
15 | params { | 26 | params { |