When selecting text in lister and pressing Ctrl+c, sometimes selected text does not make it to the clipboard leaving the old clipboard contents as is.
This patch should fix this behaviour. Copying to clipboard is handled differently in lister then in standard editor because lister is simulating a big scrollable textarea. So every way of selecting text must be handled separately to store "anchor" and "position". According these two variables copying to clipboard can be done afterwards.