// increase lines seen by those that were passed between previous found and this.
for(int i = previousTagIndex; i < firstTagIndex; i++)
if(commentText.charAt(i) == '\n')
line++;
PPTask task = new PPTask(taskMsg, line, node.getOffset() + firstTagIndex, msg.length(), isImportant);
taskList.add(task);
if(endIndex < 0)
return; // done, no more tags could be found