offtone
unread,Jan 31, 2012, 11:28:16 AM1/31/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ace Internals Dev
The online demo behaves as expected, but when I download the source
and run the kitchen sink or demo examples, the comment shown in the
example below is highlighted as a regular expression and not a
comment, simply because it is it the first line of the function. If I
add a line of whitespace above it, the line is recognized as a
comment.
Example (works in the online kitchen sink demo, but not locally when I
download the .tar.gz and run THAT kitchen sink):
function () {
// I am styled with regexp rules because I'm the first line
// I am styled with comment rules, because I'm not the first line
}