Commit Graph
5 Commits
Author SHA1 Message Date
Daniel Shahaf ff4d402e9a Highlight the first part of multiline strings correctly
Given the following input:
    PREBUFFER=$'echo "foo\n'
    BUFFER='bar"'
This patch causes the '"foo' part to be highlighted as a string.  There
is no test because the tests only check highlighting of BUFFER, and 'bar"'
is already highlighted correctly.
2015-02-02 15:12:59 +00:00
Daniel Shahaf 384be15b13 Support literal newlines 2015-01-27 10:23:59 +00:00
Daniel Shahaf 23cacb12fe Support backslash continuations 2015-01-27 10:23:59 +00:00
Daniel Shahaf 667495bfb7 Support multiline strings 2015-01-27 10:23:58 +00:00
Daniel Shahaf 2c5acaefa9 Refactoring, no functional change
The new function will be used in the next commit.
2015-01-27 10:23:58 +00:00