I have found several bugs/issues when using the REBOL script colorizing:
- the colorizing fails when the script doesn't contain REBOL header (which is valid type of script). The lexer should allow to colorize script without the REBOL header.
- the square bracket colorizing fails at following char sequence: [#" "] . The #" " is valid notation for space char! datattype in REBOL though
- the square bracket colorizing fails at following char sequences:
Both are valid REBOL expressions. The first one is escaped ^ char! datatype. The second one is escaped ^ character inside string.
Below I'm attaching REBOL lexer file which contains fixes for all three bugs/issues mentioned above. Feel free to review/include this in next Scintila releases.