Changeset 646 for org.cfeclipse.cfml/trunk/src/org/cfeclipse/cfml/editors/CFDoubleClickStrategy.java
- Timestamp:
- 04/17/08 07:45:51 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
org.cfeclipse.cfml/trunk/src/org/cfeclipse/cfml/editors/CFDoubleClickStrategy.java
r2 r646 124 124 { 125 125 c = doc.getChar(pos); 126 if(!Character.isJavaIdentifierPart(c) && c != '-' )126 if(!Character.isJavaIdentifierPart(c) && c != '-' && c != '_') 127 127 break; 128 128 --pos; … … 134 134 int length = doc.getLength(); 135 135 136 /* 137 * We should ignore "_"'s since they are used as variable names, very annoying! 138 * 139 */ 136 140 while (pos < length) 137 141 { 138 142 c = doc.getChar(pos); 139 if(!Character.isJavaIdentifierPart(c) && c != '-' )143 if(!Character.isJavaIdentifierPart(c) && c != '-' && c != '_') 140 144 break; 141 145 ++pos;
