following up to my own reply, now that I have the current version:

THe current version doesn't yield sensible results.  The selection is 
blank if there is not a character of the word after the current word.

I would assume, in general, that a "current word" function should grab 
the adjacent word.  Is there a situation in whichtthis would *not* be 
the least surprising behavior?  If so, perhaps the function can take an 
argument indicating "strict" (the current behavior), adjacent (touching 
a word), adjacent-left-only, and adjacent-right-only (I donh't see what 
the right-only would be useful for; I include it for completness. For 
that matter, on indexing and in general, adjacent makes more sense than 
adjacent-left, so maybe just strict and adjacent)>

hawk

-- 
Prof. Richard E. Hawkins, Esq.                     /"\   ASCII ribbon campaign 
[EMAIL PROTECTED]  Smeal 178  (814) 375-4700         \ /   against HTML mail
These opinions will not be those of                 X    and postings 
Penn State until it pays my retainer.              / \ 


Reply via email to