Show emoji popup if colon preceding by space or is new line.

While typing colon in GitLab, emoji pops up right away. This makes this popup only if colon is preceded by space or is new line.  Kind of fix for #2730