1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 01:35:39 +02:00

Bug 246846.

This commit is contained in:
Sergey Prigogin 2009-05-18 04:02:04 +00:00
parent fb443eac63
commit e53e9dd65a

View file

@ -32,9 +32,6 @@ import org.eclipse.cdt.ui.IPropertyChangeParticipant;
/**
* Which words should be recognized as task tags is specified under {@link CCorePreferenceConstants#TODO_TASK_TAGS} as a
* comma delimited list.
* <p>
* Clients may instantiate and subclass.
* </p>
*
* @see CCorePreferenceConstants#TODO_TASK_TAGS
* @since 5.0
@ -46,6 +43,7 @@ public final class TaskTagRule extends CombinedWordRule implements IPropertyChan
}
public boolean isWordPart(char c) {
// Allow task tags like "todo(myname):"
return c == '.' || c == '(' || c == ')' || c == ':' || Character.isJavaIdentifierPart(c);
}
}