:D
dh
Enlightenment SVN wrote:
> Log:
> make click below text put cursor at end
>
>
> Author: raster
> Date: 2008-11-16 22:17:09 -0800 (Sun, 16 Nov 2008)
> New Revision: 37690
>
> Modified:
> trunk/edje/src/lib/edje_entry.c
>
> Modified: trunk/edje/src/lib/edje_entry.c
> ===================================================================
> --- trunk/edje/src/lib/edje_entry.c 2008-11-17 05:58:21 UTC (rev 37689)
> +++ trunk/edje/src/lib/edje_entry.c 2008-11-17 06:17:09 UTC (rev 37690)
> @@ -1060,13 +1060,19 @@
> if (!evas_textblock_cursor_char_coord_set(en->cursor, en->cx, en->cy))
> {
> Evas_Coord lx, ly, lw, lh;
> + int line;
>
> - evas_textblock_cursor_line_coord_set(en->cursor, en->cy);
> - evas_textblock_cursor_line_geometry_get(en->cursor, &lx, &ly, &lw, &lh);
> - if (en->cx <= lx)
> - _curs_lin_start(en->cursor, rp->object, en);
> - else
> - _curs_lin_end(en->cursor, rp->object, en);
> + line = evas_textblock_cursor_line_coord_set(en->cursor, en->cy);
> + if (line == -1)
> + _curs_end(en->cursor, rp->object, en);
> + else
> + {
> + evas_textblock_cursor_line_geometry_get(en->cursor, &lx, &ly,
> &lw, &lh);
> + if (en->cx <= lx)
> + _curs_lin_start(en->cursor, rp->object, en);
> + else
> + _curs_lin_end(en->cursor, rp->object, en);
> + }
> }
> en->selecting = 1;
> _sel_clear(en->cursor, rp->object, en);
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> enlightenment-svn mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel