Dennis, I added pop_bookmark() to my "unselect everything" macro. It causes the current position to jump, which isn't good, but it does reverse the results of push-refs. It seems like it wouldn't work if I'd pushed a bookmark in the meantime. It also seems like my call to pop_all_bookmarks ought to have the same results, but it doesn't.
Here is the macro I use:
#include "slick.sh"
_command unselectall() name_info(','VSARG2_MARK|VSARG2_REQUIRES_EDITORCTL)
{
_macro('R',1);
deselect();
pop_bookmark();
pop_all_bookmarks();
clear_highlights();
clear_scroll_highlights();
}
If a better way to do this comes to mind, please let us know.
Thanks,
Tim