public int scanForward(int position, int bound, char ch) { return scanForward(position, bound, new CharacterMatch(ch));
public int scanForward(int start, int bound, StopCondition condition) { Assert.isTrue(start >= 0);  if (bound == UNBOUND) bound= fDocument.getLength();  Assert.isTrue(bound <= fDocument.getLength());  try { fPos= start; while (fPos < bound) {  fChar= fDocument.getChar(fPos); if (condition.stop(fChar, fPos, true)) return fPos;  fPos++; } } catch (BadLocationException e) { } return NOT_FOUND;
	public int scanForward(int position, int bound, char ch) {		return scanForward(position, bound, new CharacterMatch(ch));	}