This is a rewrite of the selection handling code.
The selection is now a display feature only; as soon as
a selection is made, it is copied into an internal
clipboard, with special codes indicating soft linefeeds
and logical line endings ("hard linefeeds"); the
rightmost character on a line is tracked (automatic
wrapping is handled by saying "there is no rightmost
character").
This enables simple trimming of *unprinted* trailing
spaces in the saved selection.
007-selection
Logged In: YES
user_id=294680
Updated selection code for new assigned_area handling.
007-selection
Selection/LF code (bugfixed)