From e53e9dd65ae05c08a8decd073802925adae3c081 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Mon, 18 May 2009 04:02:04 +0000 Subject: [PATCH] Bug 246846. --- .../src/org/eclipse/cdt/internal/ui/text/TaskTagRule.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/TaskTagRule.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/TaskTagRule.java index 2b30f89631a..7ee4fc3d0f6 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/TaskTagRule.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/TaskTagRule.java @@ -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. - *

- * Clients may instantiate and subclass. - *

* * @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); } }