ide/src/wombat/gui/text/SchemeDocument.java
private void checkForTokens(String content, int startOffset, int endOffset) {
        while (startOffset <= endOffset) {
            //  skip the delimiters to find the start of a new token

            while (isDelimiter(content.substring(startOffset, startOffset + 1))) {
                if (startOffset < endOffset)
                    startOffset++;
                else
                    return;
            }

            //  Extract and process the entire token

            if (content.charAt(startOffset) == '"')
                startOffset = getQuoteToken(content, startOffset, endOffset);
            else
                startOffset = getOtherToken(content, startOffset, endOffset);
        }
    }
/*
    * Parse the line for tokens to highlight
    */
Parse the line for tokens to highlight
Parse the line for tokens to highlight
private void checkForTokens(String content, int startOffset, int endOffset) {
        while (startOffset <= endOffset) {
            while (isDelimiter(content.substring(startOffset, startOffset + 1))) {
                if (startOffset < endOffset)
                    startOffset++;
                else
                    return;
            }
            if (content.charAt(startOffset) == '"')
                startOffset = getQuoteToken(content, startOffset, endOffset);
            else
                startOffset = getOtherToken(content, startOffset, endOffset);
        }
    }
private void checkForTokens ( String content , int startOffset , int endOffset ) { while ( startOffset <= endOffset ) { while ( isDelimiter ( content . substring ( startOffset , startOffset + 1 ) ) ) { if ( startOffset < endOffset ) startOffset ++ ; else return ; } if ( content . charAt ( startOffset ) == '"' ) startOffset = getQuoteToken ( content , startOffset , endOffset ) ; else startOffset = getOtherToken ( content , startOffset , endOffset ) ; } }
Parse the line for tokens to highlight
Parse the line for tokens to highlight
//  skip the delimiters to find the start of a new token //  Extract and process the entire token