Syntax validation for embeded mode

26 views
Skip to first unread message

Rashmi Hr

unread,
Mar 31, 2021, 11:54:41 AM3/31/21
to Ajax.org Cloud9 Editor (Ace)
Hi ,
I am trying to create a mode that embeds the java script mode in to json mode for the values in between  "{" and "}".
eg:
{
"calls":"{callsfunction();}"
}
The code highlighting is working but I am not getting syntax errors for the java script part of the  text.
Please provide guidance on how I can embed the javascript worker and map the errors for the java script code  that is within flower brackets {}.
Thanks,
Rashmi


Reply all
Reply to author
Forward
0 new messages