1. Type a sentence/paragraph and hit return.
2. Type some spaces or tabs.
3. Place cursor at the end of spaces or tabs.
5. If there is no period (punctuation) in the sentence of step 1 then the last word is included in the selection. If there is a period then that is selected.
Expected behaviour: Only spaces or tabs at beginning of sentence/paragraph should be selected. Various other programmes behave in this manner.
I don't know what should happen in the case of spaces or tabs in the middle of a sentence. Other programmes include the word prior to the spaces in the selection.
Thanks Keymaster - setting to new and enhancement.
See also the related bug.