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
Posts: 277
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.
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: Apr 2020
Location: Leipzig
Posts: 1,605
Default

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

So +1 on that.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1294 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 10-16-2020, 08:39 AM   #3
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 13,031
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 online now   Reply With Quote
Old 10-16-2020, 01:07 PM   #4
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Posts: 277
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!
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 01:50 PM.


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