Code after double backslash gets gray

Forum for discussion about the Windows IDE of Hollywood
Post Reply
amyren
Posts: 352
Joined: Thu May 02, 2019 11:53 am

Code after double backslash gets gray

Post by amyren »

Just noticed that after having double backslash, the code behind the backslashes looks invalid in the Windows IDE
The code will be executed as intended, its just a visual issue that may lure you into thinking your code is wrong formatted.

Code: Select all

If A = 0 Then DebugPrint("\\") else debugprint(A)
plouf
Posts: 467
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Code after double backslash gets gray

Post by plouf »

gets confused by \" which alone is escape code
" \\[SPACE]" is ok..
Christos
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Code after double backslash gets gray

Post by airsoftsoftwair »

Yes, that looks like a bug. Will be fixed.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Code after double backslash gets gray

Post by airsoftsoftwair »

Code: Select all

- Fix [IDE]: Syntax parser didn't handle escaped quotes in strings correctly
Post Reply