FindBlockForCodepoint
startBlock = FindBlockForCodepoint(startPoint, 0);
endBlock = FindBlockForCodepoint(endPoint,