Adjusted snippet control

Want to allow completion session to behave as normal in the context of
the snippet session. Also made the SplitToLines function public.