@PeterJones said in Pascal multi line string highlight:
[pascal]
; Everything between pairs of triple-ticks is colored cyan
0xCCCC00 = (?s)‘’‘.*?’‘’
;excluded_styles = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,20,21,22,23
(make sure you use the ; or # to coment out the excluded_styles, otherwise it won’t color properly; you can, of course, pick any 0xBBGGRR values you want to choose your own color, as described in the comments of the INI file.)
Thanks for the workaround, I used here and have some problems, when i have more than one multi-line string on a single document sometime the string is colored sometime everything else are colored.
To make it works I changed to this rule:
[pascal]
0x9393CC = (?s)(?<=[=,\(]){1}\s*('{3,}).*?\1
Now to considere the text the trhee or more apostrophe needs to be preceded by come caracteres like =, ( or [.
I tryed to search by the same amonth of ticks, it is working just well enough, but not exactly fine.