int startCol = openParensPos - document.getLineInformationOfOffset(openParensPos).getOffset() + 1;
//+1 doc to ast +1 because we also want to get the closing ')' char.
int endCol = closeParensPos - document.getLineInformationOfOffset(closeParensPos).getOffset() + 1
+ 1;
Message messageToAdd = new Message(IAnalysisPreferences.TYPE_ARGUMENTS_MISATCH, buf.toString(),
startLine, endLine, startCol, endCol, prefs);
doAddMessage(msgs, messageToAdd);
return;
}
}