KDevelop-PG-Location-Table::positionAt updated with new combined relative/binary algorithm

Jonathan Schmidt-Dominé - Developer devel at the-user.org
Fri Nov 20 22:23:29 UTC 2009


I think this would be the safest way to do it:
i = qBinaryFind(lines, lines + currentLine, offset) - lines;




More information about the KDevelop-devel mailing list