MULTILINES means there is something after the \n
e.g. a missing semicolon at the end of the line should be highlighted
with the underline style, and does not actually cross over to the next
line (which is what this regex is supposed to detect). ie. it's only
on one line.
@@ -65,7 +65,7 @@ SOME_WS = re.compile(r'\s')
FALLBACK_MARK_STYLE = 'outline'
WS_ONLY = re.compile(r'^\s+$')
-MULTILINES = re.compile('\n')
+MULTILINES = re.compile('\n(?=.)')
# Sublime >= 4074 supports underline styles on white space
# https://github.com/sublimehq/sublime_text/issues/137
