p("solutionNo."..rc1.." : hit enterkey for \z next") rd() if r4c[7] < 8 then local r = r4c[7] ... the code above works as intended but the line conaining the \z and following ones are highlighted as errenous . That \z causes the string to continue at the next non-whitespace content.
Git commit 7d435174e96d45b66cef64def69a1b0261ce112d by Dominik Haumann, on behalf of Jonathan Poelen. Committed on 14/07/2018 at 11:15. Pushed by dhaumann into branch 'master'. Lua: fix multi-line string Summary: Strings that end with \z or \ can continue to the next line Reviewers: dhaumann, cullmann, #ktexteditor, #kate Reviewed By: dhaumann, #ktexteditor, #kate Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D13829 M +7 -0 autotests/folding/highlight.lua.fold M +7 -0 autotests/html/highlight.lua.html M +7 -0 autotests/input/highlight.lua M +7 -0 autotests/reference/highlight.lua.ref M +10 -3 data/syntax/lua.xml https://commits.kde.org/syntax-highlighting/7d435174e96d45b66cef64def69a1b0261ce112d