|
|
@ -269,6 +269,7 @@ export const language = <ILanguage>{
|
|
|
|
|
|
|
|
|
|
|
|
whitespace: [
|
|
|
|
whitespace: [
|
|
|
|
[/[ \t\r\n]+/, ''],
|
|
|
|
[/[ \t\r\n]+/, ''],
|
|
|
|
|
|
|
|
[/\/\*\*(?!\/)/, 'comment.doc', '@apexdoc'],
|
|
|
|
[/\/\*/, 'comment', '@comment'],
|
|
|
|
[/\/\*/, 'comment', '@comment'],
|
|
|
|
[/\/\/.*$/, 'comment'],
|
|
|
|
[/\/\/.*$/, 'comment'],
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -281,6 +282,13 @@ export const language = <ILanguage>{
|
|
|
|
[/[\/*]/, 'comment']
|
|
|
|
[/[\/*]/, 'comment']
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Identical copy of comment above, except for the addition of .doc
|
|
|
|
|
|
|
|
apexdoc: [
|
|
|
|
|
|
|
|
[/[^\/*]+/, 'comment.doc'],
|
|
|
|
|
|
|
|
[/\*\//, 'comment.doc', '@pop'],
|
|
|
|
|
|
|
|
[/[\/*]/, 'comment.doc']
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
string: [
|
|
|
|
string: [
|
|
|
|
[/[^\\"']+/, 'string'],
|
|
|
|
[/[^\\"']+/, 'string'],
|
|
|
|
[/@escapes/, 'string.escape'],
|
|
|
|
[/@escapes/, 'string.escape'],
|
|
|
|