code: public static int findWordEnd(String line, int pos, String noWordSep) {
          return findWordEnd(line, pos, noWordSep, true);
      }
docs: Locates the end of the word at the specified position.
  
  @param line The text
  @param pos The position
  @param noWordSep Characters that are non-alphanumeric, but
  should be treated as word characters anyway