2015-02-13 23:01 GMT+01:00 Boris Faure <bill...@gmail.com>:

> billiob pushed a commit to branch master.
>
>
> http://git.enlightenment.org/apps/terminology.git/commit/?id=cf1c8f7c02eea315b2a1a3a13ccfc847685fb93a
>
> commit cf1c8f7c02eea315b2a1a3a13ccfc847685fb93a
> Author: Boris Faure <bill...@gmail.com>
> Date:   Fri Feb 13 22:59:56 2015 +0100
>
>     move selection when content underneath scrolls
>

I'm not sure this commit is the cause but now I have a bug while selecting,
to reproduce:
* run a long operation (ex compile elementary)
* while compiling scroll up by some pages
* try to select something

the selection move badly as new content is added by the compilation



> ---
>  src/bin/termio.c | 9 ++-------
>  1 file changed, 2 insertions(+), 7 deletions(-)
>
> diff --git a/src/bin/termio.c b/src/bin/termio.c
> index bf26172..3a3fb63 100644
> --- a/src/bin/termio.c
> +++ b/src/bin/termio.c
> @@ -145,14 +145,14 @@ termio_scroll(Evas_Object *obj, int direction, int
> start_y, int end_y)
>          if (!ty->selection.is_top_to_bottom)
>               INT_SWAP(sel_start_y, sel_end_y);
>          if (start_y <= sel_start_y &&
> -            end_y >= sel_end_y)
> +            sel_end_y <= end_y)
>            {
>               ty->selection.start.y += direction;
>               ty->selection.end.y += direction;
>               sel_start_y += direction;
>               sel_end_y += direction;
>               if (!(start_y <= sel_start_y &&
> -                 end_y >= sel_end_y))
> +                 sel_end_y <= end_y))
>                 {
>                    _sel_set(sd, EINA_FALSE);
>                 }
> @@ -163,11 +163,6 @@ termio_scroll(Evas_Object *obj, int direction, int
> start_y, int end_y)
>              {
>                 _sel_set(sd, EINA_FALSE);
>              }
> -        else
> -          {
> -             ty->selection.start.y += direction;
> -             ty->selection.end.y += direction;
> -          }
>       }
>     if (sd->link.string)
>       {
>
> --
>
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to