mediawiki-extensions-AbuseF.../modules
Daimona Eaytoy 1b41a61cf2 ace: Add support for multiline strings
In the AF language,
```
foo := "abc
   def"
```

declares a valid string with a linebreak inside. This wasn't previously
highlighted by ace, since normal rules are scanned line-by-line. The
code added here is essentially copied from the PHP highlighter [1],
whose rules should be almost the same as AF.

This new syntax also highlights escape sequences inside strings, e.g. in
"foo\\bar" see how the backslashes have a different color.

[1] - https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/php_highlight_rules.js#L1058

Change-Id: Idb51001af00ff2ef118741cd686dc1adf19aebee
2021-10-03 16:24:51 +00:00
..
ve-abusefilter VE: Add explicit dependency on targetLoader 2020-06-30 22:47:18 +01:00
ext.abuseFilter.css Merge "ViewEdit: avoid linebreaks in form labels" 2020-10-14 15:29:02 +00:00
ext.abuseFilter.edit.js Fix JS emptying warn/disallow message if filter group is changed 2021-01-31 23:35:34 +01:00
ext.abuseFilter.examine.js eslint: Update to eslint-config-wikimedia 0.16.0 2020-06-08 21:17:50 -04:00
ext.abuseFilter.tools.js Partial integration of EditBoxBuilder with HTMLForm 2021-02-01 16:23:42 +00:00
mode-abusefilter.js ace: Add support for multiline strings 2021-10-03 16:24:51 +00:00
red_x.png Compress PNGs with zopflipng 2016-02-20 20:17:20 +00:00
worker-abusefilter.js Check response code and prevent exception in worker-abusefilter 2021-02-12 00:01:51 +00:00
yes_check.png Compress PNGs with zopflipng 2016-02-21 00:51:11 +00:00