Move everything into VisualSelect namespace +
Provide a stack to save the selections Alt-s saves Ctrl-s switches between saved states
initialize stack immediately when one first goes into select mode
removed debug output
Make vselect local variable
Use CPK rather than VdW which also highlights bonds
VisualSelect::apply now doesn't access any global variables
don't export any procs
use capital proc names
create an initialization script for VisualSelect, initialize the variable/hotkeys etc here.
Alt-S shouldn't work when VisualSelect is off
trace a global variable called vsel, which is an atomselect and
change visual selection when it is selected. this is currently a
"one-way sync". one should update vsel, when visual selection
is changed by mouse. but there is no way of modification an
atomselection -to my knowledge- and creating new atomselection
is not memory-efficient.
fix for empty selections
activate VisualSelect mode, when one "rotates" the VisualSelection stack
I need to track which selection belongs to which molid.
until that, use mol 0.
do not destroy the variable, reset them
auto-update
attach from local disks
delete repeated lines + add OA/OB for up/down
don't use vi here, for now.