Fixed infinite looping in jquery-linenum when textarea is not visible. Almost implemented snipped editing UI.