boolean (String toFind) { outer: for (; position + toFind.length() <= limit; position++) { if (sourceSequence.charAt(position) == '\n') { //lineNumber++; //lineStart = pos + 1; continue; } for (int c = 0; c < toFind.length(); c++) { if (sourceSequence.charAt(position + c) != toFind.charAt(c)) { continue outer; } } return true; } return false; }