Show
Ignore:
Timestamp:
04/17/08 07:45:51 (9 months ago)
Author:
markd
Message:

update into SVN so everyone has the latest

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • org.cfeclipse.cfml/trunk/src/org/cfeclipse/cfml/editors/CFDoubleClickStrategy.java

    r2 r646  
    124124                        { 
    125125                                c = doc.getChar(pos); 
    126                                 if(!Character.isJavaIdentifierPart(c) && c != '-') 
     126                                if(!Character.isJavaIdentifierPart(c) && c != '-' && c != '_') 
    127127                                        break; 
    128128                                --pos; 
     
    134134                        int length = doc.getLength(); 
    135135 
     136                                /* 
     137                                 * We should ignore "_"'s since they are used as variable names, very annoying! 
     138                                 *  
     139                                 */ 
    136140                        while (pos < length)  
    137141                        { 
    138142                                c = doc.getChar(pos); 
    139                                 if(!Character.isJavaIdentifierPart(c) && c != '-') 
     143                                if(!Character.isJavaIdentifierPart(c) && c != '-' && c != '_') 
    140144                                        break; 
    141145                                ++pos;