This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
}
private TaskTag getTag(CharSequence text, int start, int end) {
TaskTag tag = settings().getTaskTags().getTag(text, start, end);
TaskTag tag = settings().getTaskTags().getTag(text, start+1, (end - start)-1);
return tag;
private static boolean same(String s1, CharSequence s2, int start, int len) {
if (s1.length() != len) return false;
for (int i = 0; i<len; i++) {
if (s1.charAt(i) != s2.charAt(start+1)) return false;
if (s1.charAt(i) != s2.charAt(start+i)) return false;
return true;