public int findNonWhitespaceForwardInAnyPartition(int position, int bound) {
        return scanForward(position, bound, _nonWS);
    }
Finds the smallest position in <code>fDocument</code> such that the position is &gt;= <code>position</code>
and &lt; <code>bound</code> and <code>Character.isWhitespace(fDocument.getChar(pos))</code> evaluates to
<code>false</code>.

@param position the first character position in <code>fDocument</code> to be considered
@param bound    the first position in <code>fDocument</code> to not consider any more, with <code>bound</code>
                &gt; <code>position</code>, or <code>UNBOUND</code>
@return the smallest position of a non-whitespace character in [<code>position</code>,<code>bound</code>),
or <code>NOT_FOUND</code> if none can be found
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/indent/SQLHeuristicScanner.java