public int processTextBatch(BaseDocument doc, int startPos, int endPos, boolean lastBatch) { try { int[] blks = getTokenBlocks(startPos, endPos, getBracketSkipTokens()); return findOutsideBlocks(bf, startPos, endPos, blks); } catch (BadLocationException e) { return -1; } } };
public int processTextBatch(BaseDocument doc, int startPos, int endPos, boolean lastBatch) { try { int[] blks = getTokenBlocks(startPos, endPos, getBracketSkipTokens()); return findOutsideBlocks(bf, startPos, endPos, blks); } catch (BadLocationException e) { return -1; } } };
if (!simpleSearch) { TokenID tokenID = getTokenID(offset); TokenID[] bst = getBracketSkipTokens(); for (int i = bst.length - 1; i >= 0; i--) { if (tokenID == bst[i]) {
if (!simpleSearch) { TokenID tokenID = getTokenID(offset); TokenID[] bst = getBracketSkipTokens(); for (int i = bst.length - 1; i >= 0; i--) { if (tokenID == bst[i]) {