Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dreamweaver CC 2017 - using <> in ASP Code screws up Code Colouring

New Here ,
Nov 20, 2016 Nov 20, 2016

Hi,

I've just upgraded to Dreamweaver CC 2017. I went through checking a few of my web applications, written in ASP, and made a bit of a strange observation with regard to the code colouring.

I have a small piece of code at the top of each of my pages that checks if the session variable from the login page has been set, to determine if you've logged in or not, for example:

<%

if session("Logged") <> True then

response.redirect("LoginPage.asp")

End If

%>

What I have discovered is that by using the 'not equal to' operator (the '<>'), all the code colouring gets screwed up for the rest of the page:

Here are some screenshots of what I mean:

Screen Shot 2016-11-21 at 05.38.44.png

The write code should be multi-coloured.

If I simply change the <> for an = (which in this context would mean that the code wouldn't work as required... but just to illustrate the problem)...

Screen Shot 2016-11-21 at 05.38.56.png

Everything looks as expected.

Is there any solution for this, as this does make debugging code rather difficult when it's all the same colour!

Thanks...

Colin

676
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 20, 2016 Nov 20, 2016

Translate
Community Expert ,
Nov 20, 2016 Nov 20, 2016
LATEST

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines