Send Notepad-plus-plus mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Notepad-plus-plus digest..."

Today's Topics:

   1. [notepad-plus - Open Discussion] Javascript       Continuation
      Character Styling (


Message: 1
Date: Sat, 29 Dec 2007 10:49:08 -0800
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion]
        Javascript      Continuation Character Styling
Content-Type: text/plain; charset="UTF-8"

Read and respond to this message at:
By: deemerrick


When you use the Javascript line continuation character \ to end a line so it
is combined with the next into a single line, if this is done in the midst of
a string then instead of the next line being styled as part of a string, it
is treated to a standard syntax styling and there are sometimes knock-on effects
when the string does close.
A quick test seems to suggest this occurs when Javascript is used in a PHP and
HTML styled page environment but not in a pure Javascript style page.

For example choose a PHP styler and paste this as a document:

<script language='JavaScript' type="text/javascript">
document.write("hello this \
is the world");

If you change the language to Javascript you'll see it now gets it right.

Many thanks indeed to all,


You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to and visit:


This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.


Notepad-plus-plus mailing list

End of Notepad-plus-plus Digest, Vol 19, Issue 77

Reply via email to