summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_text.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_text.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_text.eo551
1 files changed, 396 insertions, 155 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_text.eo b/src/lib/evas/canvas/efl_canvas_text.eo
index 511dec2..25153c2 100644
--- a/src/lib/evas/canvas/efl_canvas_text.eo
+++ b/src/lib/evas/canvas/efl_canvas_text.eo
@@ -2,31 +2,47 @@ import efl_text_types;
2 2
3class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text, 3class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
4 Efl.Canvas.Filter.Internal, Efl.Text_Font, 4 Efl.Canvas.Filter.Internal, Efl.Text_Font,
5 Efl.Text_Style, Efl.Text_Format, Efl.Text_Cursor, 5 Efl.Text_Style, Efl.Text_Format,
6 Efl.Text_Annotate, Efl.Text_Markup, Efl.Text_Markup_Interactive, Efl.Ui.I18n 6 Efl.Text_Markup, Efl.Ui.I18n
7{ 7{
8 [[Efl canvas text class]] 8 [[This is the Canvas-level text class. This class only takes care of rendering text,
9 if you need user interaction consider the classes in $Efl.Ui.]]
9 methods { 10 methods {
10 @property is_empty { 11 @property is_empty {
11 [[Whether the object is empty (no text) or not 12 [[Whether the object is empty (no text) or not.
12 ]] 13 ]]
13 get { 14 get {
14 } 15 }
15 values { 16 values {
16 is_empty: bool; [[$true if empty, $false otherwise]] 17 is_empty: bool; [[$true if empty.]]
17 } 18 }
18 } 19 }
20 cursor_add {
21 [[Adds an existing cursor to the text object.
22 If the cursor already belonged to another text object it will be reassigned to the new one.
23 It is typically more convenient to obtain a cursor directly from the text object using @.cursor_create.
24 ]]
25 params {
26 cursor: Efl.Text.Cursor; [[The text cursor to use.]]
27 }
28 }
29 cursor_create {
30 [[Creates a new cursor and adds it to the text object.
31 This cursor can be used to manipulate and iterate the content of the text object.
32 ]]
33 return: Efl.Text.Cursor @move; [[The created text cursor.]]
34 }
19 visible_range_get { 35 visible_range_get {
20 [[Returns the currently visible range. 36 [[Returns the currently visible range.
21 37
22 The given $start and $end cursor act like out-variables here, 38 The given $start and $end cursors are output variables:
23 as they are set to the positions of the start and the end of the 39 they are set to the positions of the start and the end of the
24 visible range in the text, respectively. 40 visible range in the text, respectively.
25 ]] 41 ]]
26 return: bool; [[$true on success, $false otherwise]] 42 return: bool; [[$true on success.]]
27 params { 43 params {
28 @in start: ptr(Efl.Text_Cursor_Cursor); [[Range start position]] 44 @in start: Efl.Text.Cursor; [[Range start position.]]
29 @in end: ptr(Efl.Text_Cursor_Cursor); [[Range end position]] 45 @in end: Efl.Text.Cursor; [[Range end position.]]
30 } 46 }
31 } 47 }
32 @property style_insets { 48 @property style_insets {
@@ -36,149 +52,411 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
36 ]] 52 ]]
37 get {} 53 get {}
38 values { 54 values {
39 l: int; [[Left padding]] 55 l: int; [[Left padding.]]
40 r: int; [[Right padding]] 56 r: int; [[Right padding.]]
41 t: int; [[Top padding]] 57 t: int; [[Top padding.]]
42 b: int; [[Bottom padding]] 58 b: int; [[Bottom padding.]]
43 } 59 }
44 } 60 }
45 @property bidi_delimiters { 61 @property bidi_delimiters {
46 [[BiDi delimiters are used for in-paragraph separation of bidi 62 [[BiDi delimiters are used for in-paragraph separation of bidirectional
47 segments. This is useful, for example, in the recipient fields of 63 segments. This is useful, for example, in the recipient fields of
48 e-mail clients where bidi oddities can occur when mixing RTL 64 e-mail clients where bidi oddities can occur when mixing RTL (right-to-left)
49 and LTR. 65 and LTR (left-to-right) text.
50 ]] 66 ]]
51 set {} 67 set {}
52 get {} 68 get {}
53 values { 69 values {
54 delim: string; [[A null terminated string of delimiters, e.g ",|" or $null if empty]] 70 delim: string; [[A null terminated string of delimiters, e.g ",|" or $null if empty.]]
55 } 71 }
56 } 72 }
57 @property legacy_newline { 73 @property newline_as_paragraph_separator {
58 [[When $true, newline character will behave as a paragraph separator. 74 [[When $true, the newline character will behave as a paragraph separator.
59 ]] 75 ]]
60 set {} 76 set {}
61 get {} 77 get {}
62 values { 78 values {
63 mode: bool; [[$true for legacy mode, $false otherwise]] 79 mode: bool; [[$true for legacy mode, $false otherwise.]]
64 } 80 }
65 } 81 }
66 @property style { 82 style_apply {
67 [[The text style of the object. 83 [[Applies a style to the text object. Applied style attributes override old ones, leaving other attributes
84 unaffected.
85 This is similar to setting individual style attributes using properties like @Efl.Text_Font.font_slant or
86 @Efl.Text_Format.wrap.
87
88 The style can be set as "attribute"="Value".
89 Multible attribute can be set at once separated by space.
90
91 The following styling attributes are accepted:
92
93 - Font
94 - Font fallback
95 - Font size
96 - Font source
97 - Font weight
98 - Font style
99 - Font width
100 - Language
101 - Color
102 - Underline Color
103 - Second Underline Color
104 - Underline Dash Color
105 - Outline Color
106 - Shadow Color
107 - First Glow Color
108 - Second Glow Color
109 - Backing Color
110 - Strikethrough Color
111 - Horizontal Align
112 - Vertical Align
113 - Wrap
114 - Left margin
115 - Right margin
116 - Underline
117 - Strikethrough
118 - Backing
119 - Style
120 - Tabstops
121 - Line size
122 - Relative line size
123 - Line gap
124 - Relative line gap
125 - Item
126 - Line fill
127 - Ellipsis
128 - Password
129 - Underline dash width
130 - Underline dash gap
131 - Underline height
132
133 Font
134 This sets the name of the font to be used.
135 font=<font name>
136
137 Font fallback
138 A comma delimited list of fonts to try if finding the primary font fails.
139 font_fallbacks=<font names>
140
141 Font size
142 This sets the the size of font in points to be used.
143 font_size=<size>
144
145 Font source
146 Specify source from which to search for the font.
147 font_source=<source>
148
149 Font weight
150 Sets the weight of the font. The value must be one of:
151 "normal"
152 "thin"
153 "ultralight"
154 "extralight"
155 "light"
156 "book"
157 "medium"
158 "semibold"
159 "bold"
160 "ultrabold"
161 "extrabold"
162 "black"
163 "extrablack"
164 font_weight=<weight>
165
166 Font style
167 Sets the style of the font. The value must be one of:
168 "normal"
169 "oblique"
170 "italic"
171 font_style=<style>
172
173 Font width
174 Sets the width of the font. The value must be one of:
175 "normal"
176 "ultracondensed"
177 "extracondensed"
178 "condensed"
179 "semicondensed"
180 "semiexpanded"
181 "expanded"
182 "extraexpanded"
183 "ultraexpanded"
184 font_width=<width>
185
186 Language
187 Overrides the language defined in font. For example, lang=he.
188 The value can either be a language text or one of presets:
189 "auto" - Respects system locale settings as language
190 "none" - Disable language support
191 lang=<language>
192
193 Color Commands <color>:
194 The following formats are accepted:
195 "#RRGGBB"
196 "#RRGGBBAA"
197 "#RGB"
198 "#RGBA"
199 "rgb(r,g,b)"
200 "rgba(r,g,b,a)"
201 "color_name" like "red" (X11 color names)
202
203 Color
204 Sets the color of the text.
205 color=<color>
206
207 Underline Color
208 Sets the color of the underline.
209 underline_color=<color>
210
211 Second Underline Color
212 Sets the color of the second line of underline(when using underline mode "double").
213 underline2_color=<color>
214
215 Underline Dash Color
216 Sets the color of dashed underline.
217 underline_dash_color=<color>
218
219 Outline Color
220 Sets the color of the outline of the text.
221 outline_color=<color>
222
223 Shadow Color
224 Sets the color of the shadow of the text.
225 shadow_color=<color>
226
227 First Glow Color
228 Sets the first color of the glow of text.
229 glow_color=<color>
230
231 Second Glow Color
232 Sets the second color of the glow of text.
233 glow2_color=<color>
234
235 Backing Color
236 Sets a background color for text.
237 backing_color=<color>
238
239 Strikethrough Color
240 Sets the color of text that is striked through.
241 strikethrough_color=<color>
242
243 Horizontal Align
244 Sets the horizontal alignment of the text. The value can either be a number, a percentage or one of several presets:
245 "auto" - Respects LTR/RTL settings
246 "locale" - Respects locale(language) direction settings
247 "center" - Centers the text in the line
248 "middle" - Alias for "center"
249 "left" - Puts the text at the left of the line
250 "right" - Puts the text at the right of the line
251 "start" - Respects LTR/RTL settings. It is same with "auto"
252 "end" - Puts the text at the opposite side of LTR/RTL settings
253 <number> - A number between 0.0 and 1.0 where 0.0 represents "left" and 1.0 represents "right"
254 <number>% - A percentage between 0% and 100% where 0% represents "left" and 100% represents "right"
255 align=<value or preset>
256
257 Vertical Align
258 Sets the vertical alignment of the text.
259 The value can either be a number or one of the following presets:
260 "top" - Puts text at the top of the line
261 "center" - Centers the text in the line
262 "middle" - Alias for "center"
263 "bottom" - Puts the text at the bottom of the line
264 "baseline" - Baseline
265 "base" - Alias for "baseline"
266 <number> - A number between 0.0 and 1.0 where 0.0 represents "top" and 1.0 represents "bottom"
267 <number>% - A percentage between 0% and 100% where 0% represents "top" and 100% represents "bottom"
268 valign=<value or preset>
269 See explanation of baseline at: https://en.wikipedia.org/wiki/Baseline_%28typography%29
270
271 Wrap
272 Sets the wrap policy of the text. The value must be one of the following:
273 "word" - Only wraps lines at word boundaries
274 "char" - Wraps at any character
275 "mixed" - Wrap at words if possible, if not at any character
276 "hyphenation" - Hyphenate if possible, if not wrap at words if possible, if not at any character
277 "" - Don't wrap
278 wrap=<value or preset>
279
280 Left margin
281 Sets the left margin of the text (in pixel). The value can be a number, an increment, decrement or "reset":
282 +<number> - Increments existing left margin by <number>
283 -<number> - Decrements existing left margin by <number>
284 <number> - Sets left margin to <number>
285 "reset" - Sets left margin to 0
286 left_margin=<value or reset>
287
288 Right margin
289 Sets the right margin of the text (in pixel). The value can be a number, an increment, decrement or "reset":
290 +<number> - Increments existing right margin by <number>
291 -<number> - Decrements existing right margin by <number>
292 <number> - Sets left margin to <number>
293 "reset" - Sets left margin to 0
294 right_margin=<value or reset>
295
296 Underline
297 Sets if and how a text will be underlined. The value must be one of the following:
298 "off" - No underlining
299 "single" - A single line under the text
300 "on" - Alias for "single"
301 "double" - Two lines under the text
302 "dashed" - A dashed line under the text
303 underline=off/single/on/double/dashed
304
305 Strikethrough
306 Sets if the text will be striked through. The value must be one of the following:
307 "off" - No strikethrough
308 "on" - Strikethrough
309 strikethrough=on/off
310
311 Backing
312 Sets if the text will have background color enabled or disabled. The value must be one of the following:
313 "off" - No backing
314 "on" - Backing
315 backing=on/off
316
317 Style
318 Sets the style of the text. The value must be a string composed of two comma separated parts.
319 The first part of the value sets the appearance of the text, the second the position.
320 The first part may be any of the following values:
321 "plain"
322 "off" - Alias for "plain"
323 "none" - Alias for "plain"
324 "shadow"
325 "outline"
326 "soft_outline"
327 "outline_shadow"
328 "outline_soft_shadow"
329 "glow"
330 "far_shadow"
331 "soft_shadow"
332 "far_soft_shadow" The second part may be any of the following values:
333 "bottom_right"
334 "bottom"
335 "bottom_left"
336 "left"
337 "top_left"
338 "top"
339 "top_right"
340 "right"
341 style=<appearance>,<position>
342
343 Tabstops
344 Sets the size (in pixel) of the tab character. The value must be a number greater than one.
345 tabstops=<number>
68 346
69 $key is how you reference the style (for deletion or fetching). $NULL 347 Line size
70 as key indicates the style has the highest priority (default style). 348 Sets the size (in pixel) of line of text. The value should be a number.
71 The style priority is the order of creation, styles created first 349 Setting this value sets linerelsize to 0%!
72 are applied first with the exception of $NULL which is implicitly 350 linesize=<number>
73 first.
74 351
75 Set $style to $NULL to delete it. 352 Relative line size
353 Percentage indicating the wanted size of the line relative to the calculated size.
354 Setting this value sets linesize to 0!
355 linerelsize=<number>%
356
357 Line gap
358 Sets the size (in pixel) of the line gap in text (distance between lines). The value should be a number.
359 Setting this value sets linerelgap to 0%!
360 linegap=<number>
361
362 Relative line gap
363 Sets the relative size of the line gap in text based calculated size. The value must be a percentage.
364 Setting this value sets linegap to 0!
365 linerelgap=<number>%
366
367 Line fill
368 Sets the size of the line fill in text. The value must be a percentage (how much line fill its canvas).
369 For example setting value to 100%, means the one line will fill it canvas.
370 linefill=<number>%
371
372 Ellipsis
373 Sets ellipsis mode. The value should be a number.
374 Any value smaller than 0.0 or greater than 1.0 disables ellipsis.
375 A value of 0 means ellipsizing the leftmost portion of the text first, 1 on the other hand the rightmost portion.
376 ellipsis=<number>
377
378 Password
379 Sets if the text is being used for passwords.
380 Enabling this causes all characters to be substituted for '*'. Value must be one of the following:
381 "on" - Enable
382 "off" - Disable
383 password=on/off
384
385 Underline dash width
386 Sets the width of the underline dash (in pixel). The value should be a number.
387 underline_dash_width=<number>
388
389 Underline dash gap
390 Sets the gap of the underline dash (in pixel). The value should be a number.
391 underline_dash_gap=<number>
392
393 Underline height
394 Sets the height of the single underline (in pixel). The value should be a floating number.
395 underline_height=<floatingnumber>
396
397 Gfx Filter
398 Experimental filter, see efl_gfx_filter for more information.
399 gfx_filter='filter name'
76 ]] 400 ]]
77 set { 401
78 } 402 params {
79 get { 403 @in style: string; [[A whitespace-separated list of $[property=value] pairs, for example, $[font=sans font_size=30].]]
80 }
81 keys {
82 key: string; [[The name to the style. $NULL is the default style]]
83 } 404 }
405 }
406 @property all_styles {
407 [[A string representing the complete set of styles applied to this text object.
408 This includes the default attributes plus any additional style applied with @.style_apply
409 or individual style properties like @Efl.Text_Font.font_slant or @Efl.Text_Format.wrap.]]
410 get {}
84 values { 411 values {
85 style: string; [[The style]] 412 style: string; [[A whitespace-separated list of $[property=value] pairs, for example,
413 $[font=sans size=30]. Do not free.]]
86 } 414 }
87 } 415 }
88 @property size_formatted { 416 @property size_formatted {
89 [[The formatted width and height. 417 [[The formatted width and height of this text block.
90 418
91 This calculates the actual size after restricting the 419 This calculates the actual size after restricting the
92 textblock to the current size of the object. 420 text block to the current size of the object.
93 421
94 The main difference between this and @.size_native.get 422 The main difference between this and @.size_native
95 is that the "native" function does not wrapping into account 423 is that the "native" function does not take wrapping into account:
96 it just calculates the real width of the object if it was 424 it just calculates the real width of the object as if it was
97 placed on an infinite canvas, while this function gives the 425 placed on an infinite canvas, while @.size_formatted gives the
98 size after wrapping according to the size restrictions of the 426 size after wrapping text according to the size restrictions of the
99 object. 427 object.
100 428
101 For example for a textblock containing the text: 429 For example a text block containing the text:
102 "You shall not pass!" with no margins or padding and assuming 430 "You shall not pass!" with no margins or padding and assuming
103 a monospace font and a size of 7x10 char widths (for simplicity) 431 a monospace font and a size of 7x10 char widths (for simplicity)
104 has a native size of 19x1 and a formatted size of 5x4. 432 has a native size of 19x1 and a formatted size of 5x4.
105 ]] 433 ]]
106 get {} 434 get {}
107 values { 435 values {
108 w: int; [[The width of the object.]] 436 size: Eina.Size2D; [[The formatted size of the object (after wrapping).]]
109 h: int; [[The height of the object.]]
110 } 437 }
111 } 438 }
112 @property size_native { 439 @property size_native {
113 [[The native width and height. 440 [[The native width and height of this text block.
114 441
115 This calculates the actual size without taking account the 442 This calculates the actual size without taking account the
116 current size of the object. 443 current size of the object.
117 444
118 The main difference between this and @.size_formatted.get 445 The main difference between this and @.size_formatted
119 is that the "native" function does not take wrapping into 446 is that the "native" function does not take wrapping into account:
120 account it just calculates the real width of the object if 447 it just calculates the real width of the object as if it was
121 it was placed on an infinite canvas, while the "formatted" 448 placed on an infinite canvas, while @.size_formatted gives the
122 function gives the size after wrapping text according to 449 size after wrapping text according to the size restrictions of the
123 the size restrictions of the object. 450 object.
124 451
125 For example for a textblock containing the text: 452 For example a text block containing the text:
126 "You shall not pass!" with no margins or padding and assuming 453 "You shall not pass!" with no margins or padding and assuming
127 a monospace font and a size of 7x10 char widths (for simplicity) 454 a monospace font and a size of 7x10 char widths (for simplicity)
128 has a native size of 19x1 and a formatted size of 5x4. 455 has a native size of 19x1 and a formatted size of 5x4.
129 ]] 456 ]]
130 get {} 457 get {}
131 values { 458 values {
132 w: int; [[The width returned.]] 459 size: Eina.Size2D; [[The native size of the object (without wrapping).]]
133 h: int; [[The height returned.]]
134 }
135 }
136 range_text_get @const {
137 [[Returns the text in the range between $cur1 and $cur2.
138 ]]
139 return: mstring @move; [[The text in the given range]]
140 params {
141 @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]]
142 @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]]
143 }
144 }
145 range_geometry_get {
146 [[Get the geometry of a range in the text.
147
148 The geometry is represented as rectangles for each of the line
149 segments in the given range [$cur1, $cur2].
150 ]]
151 params {
152 @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]]
153 @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]]
154 }
155 return: iterator<ptr(Eina.Rect)> @move; [[
156 Iterator on all geoemtries of the given range
157 ]]
158 }
159 range_simple_geometry_get {
160 [[Get the "simple" geometry of a range.
161
162 The geometry is the geometry in which rectangles in middle lines of
163 range are merged into one big rectangle. This is an optimized
164 version of @.range_geometry_get.
165 ]]
166 params {
167 @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]]
168 @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]]
169 }
170 return: iterator<ptr(Eina.Rect)> @move; [[
171 Iterator on all simple geometries of the given range
172 ]]
173 }
174 range_delete {
175 [[Deletes the range between given cursors.
176
177 This removes all the text in given range [$start,$end].
178 ]]
179 params {
180 @in cur1: ptr(Efl.Text_Cursor_Cursor); [[Range start position]]
181 @in cur2: ptr(Efl.Text_Cursor_Cursor); [[Range end position]]
182 } 460 }
183 } 461 }
184 // Obstacles 462 // Obstacles
@@ -190,17 +468,17 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
190 position of the obstacle. 468 position of the obstacle.
191 ]] 469 ]]
192 params { 470 params {
193 @in eo_obs: Efl.Canvas.Object; [[Obstacle object]] 471 @in eo_obs: Efl.Canvas.Object; [[Obstacle object.]]
194 } 472 }
195 return: bool; [[$true on success, $false otherwise.]] 473 return: bool; [[$true on success.]]
196 } 474 }
197 obstacle_del { 475 obstacle_del {
198 [[Removes $eo_obs from observation during text layout. 476 [[Removes $eo_obs from observation during text layout.
199 ]] 477 ]]
200 params { 478 params {
201 @in eo_obs: Efl.Canvas.Object; [[Obstacle object]] 479 @in eo_obs: Efl.Canvas.Object; [[Obstacle object.]]
202 } 480 }
203 return: bool; [[$true on success, $false otherwise.]] 481 return: bool; [[$true on success.]]
204 } 482 }
205 obstacles_update { 483 obstacles_update {
206 [[Triggers for relayout due to obstacles' state change. 484 [[Triggers for relayout due to obstacles' state change.
@@ -211,7 +489,7 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
211 layout. 489 layout.
212 490
213 For example: if you have just repositioned the obstacles to 491 For example: if you have just repositioned the obstacles to
214 differrent coordinates relative to the textblock, you need to 492 different coordinates relative to the text block, you need to
215 call this so it will consider this new state and will relayout 493 call this so it will consider this new state and will relayout
216 the text. 494 the text.
217 ]] 495 ]]
@@ -220,9 +498,9 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
220 [[Requests to layout the text off the mainloop. 498 [[Requests to layout the text off the mainloop.
221 499
222 Once layout is complete, the result is returned as @Eina.Rect, 500 Once layout is complete, the result is returned as @Eina.Rect,
223 with w, h fields set. 501 with the $w and $h fields set.
224 ]] 502 ]]
225 return: future<Eina.Rect> @move; [[Future for layout result]] 503 return: future<Eina.Rect>; [[Future for layout result.]]
226 } 504 }
227 } 505 }
228 implements { 506 implements {
@@ -236,7 +514,8 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
236 Efl.Canvas.Filter.Internal.filter_dirty; 514 Efl.Canvas.Filter.Internal.filter_dirty;
237 Efl.Canvas.Filter.Internal.filter_input_render; 515 Efl.Canvas.Filter.Internal.filter_input_render;
238 Efl.Canvas.Filter.Internal.filter_state_prepare; 516 Efl.Canvas.Filter.Internal.filter_state_prepare;
239 Efl.Text_Font.font { get; set; } 517 Efl.Text_Font.font_family { get; set; }
518 Efl.Text_Font.font_size { get; set; }
240 Efl.Text_Font.font_source { get; set; } 519 Efl.Text_Font.font_source { get; set; }
241 Efl.Text_Font.font_fallbacks { get; set; } 520 Efl.Text_Font.font_fallbacks { get; set; }
242 Efl.Text_Font.font_lang { get; set; } 521 Efl.Text_Font.font_lang { get; set; }
@@ -266,59 +545,21 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text,
266 Efl.Text_Format.ellipsis { get; set; } 545 Efl.Text_Format.ellipsis { get; set; }
267 Efl.Text_Format.wrap { get; set; } 546 Efl.Text_Format.wrap { get; set; }
268 Efl.Text_Format.multiline { get; set; } 547 Efl.Text_Format.multiline { get; set; }
269 Efl.Text_Format.halign { get; set; } 548 Efl.Text_Format.horizontal_align { get; set; }
270 Efl.Text_Format.halign_auto_type { get; set; } 549 Efl.Text_Format.horizontal_align_auto_type { get; set; }
271 Efl.Text_Format.valign { get; set; } 550 Efl.Text_Format.vertical_align { get; set; }
272 Efl.Text_Format.linegap { get; set; } 551 Efl.Text_Format.linegap { get; set; }
273 Efl.Text_Format.linerelgap { get; set; } 552 Efl.Text_Format.linerelgap { get; set; }
274 Efl.Text_Format.tabstops { get; set; } 553 Efl.Text_Format.tabstops { get; set; }
275 Efl.Text_Format.password { get; set; } 554 Efl.Text_Format.password { get; set; }
276 Efl.Text_Format.replacement_char { get; set; } 555 Efl.Text_Format.replacement_char { get; set; }
277 Efl.Text_Cursor.text_cursor { get; }
278 Efl.Text_Cursor.cursor_position { set; get; }
279 Efl.Text_Cursor.cursor_content { get; }
280 Efl.Text_Cursor.cursor_geometry { get; }
281 Efl.Text_Cursor.cursor_new;
282 Efl.Text_Cursor.cursor_free;
283 Efl.Text_Cursor.cursor_equal;
284 Efl.Text_Cursor.cursor_compare;
285 Efl.Text_Cursor.cursor_copy;
286 Efl.Text_Cursor.cursor_char_next;
287 Efl.Text_Cursor.cursor_char_prev;
288 Efl.Text_Cursor.cursor_cluster_next;
289 Efl.Text_Cursor.cursor_cluster_prev;
290 Efl.Text_Cursor.cursor_paragraph_char_first;
291 Efl.Text_Cursor.cursor_paragraph_char_last;
292 Efl.Text_Cursor.cursor_word_start;
293 Efl.Text_Cursor.cursor_word_end;
294 Efl.Text_Cursor.cursor_line_char_first;
295 Efl.Text_Cursor.cursor_line_char_last;
296 Efl.Text_Cursor.cursor_paragraph_first;
297 Efl.Text_Cursor.cursor_paragraph_last;
298 Efl.Text_Cursor.cursor_paragraph_next;
299 Efl.Text_Cursor.cursor_paragraph_prev;
300 Efl.Text_Cursor.cursor_line_jump_by;
301 Efl.Text_Cursor.cursor_coord_set;
302 Efl.Text_Cursor.cursor_cluster_coord_set;
303 Efl.Text_Cursor.cursor_text_insert;
304 Efl.Text_Cursor.cursor_char_delete;
305 Efl.Text_Annotate.annotation { set; get; }
306 Efl.Text_Annotate.range_annotations_get;
307 Efl.Text_Annotate.annotation_insert;
308 Efl.Text_Annotate.annotation_del;
309 Efl.Text_Annotate.annotation_is_item;
310 Efl.Text_Annotate.item_geometry_get;
311 Efl.Text_Annotate.annotation_positions_get;
312 Efl.Text_Annotate.cursor_item_annotation { get; }
313 Efl.Text_Annotate.cursor_item_insert;
314 Efl.Text_Markup.markup { set; get; } 556 Efl.Text_Markup.markup { set; get; }
315 Efl.Text_Markup_Interactive.cursor_markup_insert;
316 Efl.Text_Markup_Interactive.markup_range { get;}
317 Efl.Gfx.Entity.scale { set; } 557 Efl.Gfx.Entity.scale { set; }
318 } 558 }
319 events { 559 events {
320 cursor,changed: void; [[Called when cursor changed]]
321 changed: void; [[Called when canvas text changed ]] 560 changed: void; [[Called when canvas text changed ]]
561 attributes,changed: void; [[Called when attributes change]]
562 layout,finished: void; [[Called when the object has been layed out]]
322 style_insets,changed: void; [[Called when the property @.style_insets changed.]] 563 style_insets,changed: void; [[Called when the property @.style_insets changed.]]
323 } 564 }
324} 565}