int pos = 0; // actual position while (true) { int[] blk = findInBlock(c, pos, 0, -1, props, false); if (blk == null) { break;
int pos = 0; // actual position while (true) { int[] blk = findInBlock(c, pos, 0, -1, props, false); if (blk == null) { break;
int[] blk = findInBlock(c, dotPos, 0, -1, props, oppositeDir); if (blk != null) { if (caret instanceof BaseCaret) { // support extended scroll mode
int dotPos = caret.getDot(); try { int[] blk = findInBlock(c, dotPos, 0, -1, props, oppositeDir); if (blk != null) { if (caret instanceof BaseCaret) { // support extended