added full support for whitespace nextline triggering