Finds wordbreaks in the buffer using the current wordbreak procedure. See also set-wordbreak-func.
The contents of the start argument specifies a location to start searching backwards to the next word start; its will be filled with the starting position of the word that is found. If start is null, no backward search is performed.
The contents of the end argument specifies a location to start searching forwards to the next word end; its will be filled with the ending position of the word that is found. If end is null, no forward search is performed.
The reason argument specifies more information about what the wordbreak is used for. For example, the wordbreaks used to move the caret may be different from the wordbreaks used to break lines. The possible values of reason are: