URI: 
       tacme: htmlclick takes precedence over line click - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 4dbf255619efac4f0a00e4216d6c999128910df2
   DIR parent fa662c9571e92d5fc4f36414723bbaed1e11b278
  HTML Author: Russ Cox <russcox@gmail.com>
       Date:   Fri, 11 Sep 2009 14:54:43 -0400
       
       acme: htmlclick takes precedence over line click
       
       http://codereview.appspot.com/116074
       
       Diffstat:
         M src/cmd/acme/text.c                 |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c
       t@@ -1350,6 +1350,9 @@ textdoubleclick(Text *t, uint *q0, uint *q1)
                Rune *r, *l, *p;
                uint q;
        
       +        if(textclickhtmlmatch(t, q0, q1))
       +                return;
       +        
                for(i=0; left[i]!=nil; i++){
                        q = *q0;
                        l = left[i];
       t@@ -1382,9 +1385,6 @@ textdoubleclick(Text *t, uint *q0, uint *q1)
                        }
                }
                
       -        if(textclickhtmlmatch(t, q0, q1))
       -                return;
       -        
                /* try filling out word to right */
                while(*q1<t->file->b.nc && isalnum(textreadc(t, *q1)))
                        (*q1)++;