Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 10-15-2020, 12:59 PM   #1
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 1,922
Default IDE Lua Linting: Escape sequence \z not recognized

Lua 5.2 introduced the \z character, an elegant way of breaking up strings into multiple lines.

Reaper IDE


VS Code


Admittedly, this is a nitpick But if it's an easy fix, like updating the linter version, it would be really nice to have.
__________________
Featured scripts: REAPER Update UtilityLil ChordboxAdaptive gridMX TunerRS5K LinkMIDI Editor MagicDonate
FeedTheCat is offline   Reply With Quote
Old 10-15-2020, 01:14 PM   #2
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,485
Default

Oh, didn't know about that one. Will save me tons of ]] and [[ characters.

So +1 on that.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is online now   Reply With Quote
Old 10-16-2020, 08:39 AM   #3
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,597
Default

Adding support for \z followed by a single newline, but due to some complexities in the syntax highlighting code, in some multi-line instances it may not update the other lines immediately (when changing a blank line into a non-blank line within a string that uses \z to ignore the whitespace blah blah blah)

Last edited by Justin; 10-16-2020 at 12:24 PM.
Justin is offline   Reply With Quote
Old 10-16-2020, 01:07 PM   #4
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 1,922
Default

Quote:
Originally Posted by Justin View Post
Adding support for \z followed by a single newline, but due to some complexities in the syntax highlighting code, in some multi-line instances it may not update the other lines immediately (when changing a blank line into a non-blank line within a string that uses \z to ignore the whitespace blah blah blah)
Nice! That sounds a bit more complicated than a simple Linter version upgrade, hehe. Thanks Justin!
__________________
Featured scripts: REAPER Update UtilityLil ChordboxAdaptive gridMX TunerRS5K LinkMIDI Editor MagicDonate
FeedTheCat is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.