javascript editor

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
daredare
Posts: 125
Joined: Sun Sep 09, 2007 1:40 pm

javascript editor

Post by daredare »

why does the word class get bold as would get: if, else, function or any other reserved js word?
i cant seem to find class has a js reserved word :?: :?: or for what stands the class word in bold ?
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

Its an HTML reserved word too.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

Not sure, this was done by the person who implemented the JS highlighter. It was according to some specification.

Probably some javascript developer can help here with alternative advice.
Karlis Blumentals
Blumentals Software
www.blumentals.net
daredare
Posts: 125
Joined: Sun Sep 09, 2007 1:40 pm

Post by daredare »

yep from what i know: classes can be refer as 'when creating an object class'
but imo it isnt a javascript reserved word, this is no big deal tho i was just curious about it...
thanks
daredare
Posts: 125
Joined: Sun Sep 09, 2007 1:40 pm

Post by daredare »

now i see: it is a prototype framework word and a a jscript(microsoft javascript) word too.
Post Reply