The keyword spawn isn't highlighted
spawn
ID:1326513
Jul 16 2013, 11:03 pm (Edited by moderator on May 14 2014, 1:29 pm)
|
|||||||||||||
Resolved
| |||||||||||||
Descriptive Problem Summary:
The keyword spawn isn't highlighted
spawn
|
I wasn't sure if spawn/sleep were always highlighted, in fact I felt pretty sure they weren't a while ago, but felt like I'd mention it none the less.
|
While it could be argued that sleep and spawn are control keywords like for or while, traditionally they've been treated just like other built-in procs rather than keywords. I think either highlighting them or not is correct.
|
In response to Lummox JR
|
|
Lummox JR wrote:
While it could be argued that sleep and spawn are control keywords like for or while, traditionally they've been treated just like other built-in procs rather than keywords. I think either highlighting them or not is correct. They're highlighted within Dream Maker now, they should be highlighted on the website, that's the purpose of this thread. |
I'd like to bump this, since try/catch were just added to the forum's syntax highlighter.
Strange that red numbers, and blue spawn/sleep haven't been added yet. |
I'll add sleep and spawn to the highlights in a future update.
Highlighting numbers is something I don't foresee happening on the forums; the markup would be kind of problematic. However I've long considered changing the DM highlighting to JS-only, and if that happens at some point then the markup issue goes away. |
In response to Nadrew
|
|
Nadrew wrote:
success |
sleep
Most of the recent keyword additions haven't been added to the website syntax highlighter yet.