Efl.Ui.Text: Fix Text Cursor composition
authorXavi Artigas <xavierartigas@yahoo.es>
Fri, 25 Oct 2019 21:00:31 +0000 (18:00 -0300)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:20:39 +0000 (11:20 +0900)
commitb9cf4c6da51ee2a56621319febec6f14271000d8
treebc8e0c3bbb451d92ad7b7e36b0c389f05b406872
parent4434b6f6b3a19832b0ef7ba6c329b9c472e67300
Efl.Ui.Text: Fix Text Cursor composition

Summary:
This is a temporary fix while Text is being revamped.
Efl.Ui.Text internally composites Efl.Text_Cursor (through some other interfaces)
but this was not being advertised in the EO file.
This caused no trouble to C but was preventing C# from using the Cursors API
(because C# relies on the EO composites section).

On top of this, the cursor_new() method has been removed, since it was redundant.

Test Plan:
Builds and passes tests, and C# is able to do things like:
```
Efl.TextCursorCursor cursor = screen.GetTextCursor(Efl.TextCursorGetType.Main);
screen.InsertCursorText(cursor, str);
```

Reviewers: lauromoura, cedric, tasn

Reviewed By: lauromoura

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10465
src/lib/elementary/efl_ui_text.c
src/lib/elementary/efl_ui_text.eo