line selection (visdock.utils)