On 27/09/2005, at 5.14, Allan Odgaard wrote:
I am however also unsure how to “solve” it. One heuristic could be to look at the scope before and after the selection, and if these are identical, use that. So when we select something entirely, the scope excludes what's special for the stuff we selected. But if OTOH we select a partial string (or similar), the scope will include string.
Should say: partially select a string.