summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_text_markup_interactive.eo
blob: cbb4906ac292ea0721bcfd026e931d26bdf9164d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
interface @beta Efl.Text_Markup_Interactive extends Efl.Text_Cursor {
   [[Markup data that populates the text object's style and format
   ]]
   methods {
      @property markup_range {
         [[Markup of a given range in the text]]
         values {
            markup: mstring @owned; [[The markup-text representation set to
            this text of a given range]]
         }
         keys {
            start: ptr(Efl.Text_Cursor_Cursor); [[Start of the markup region]]
            end: ptr(Efl.Text_Cursor_Cursor); [[End of markup region]]
         }
      }
      cursor_markup_insert {
         [[Inserts a markup text to the text object in a given cursor position]]
         params {
            cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor position to insert markup]]
            @in markup: string; [[The markup text to insert]]
         }
      }
   }
}