I'm writing a Syntax file for Robot Framework. I want to create a color scheme for the [Documentation]
tag, such that the text following the tag, and all subsequent lines beginning with ...
until the next line that does not begin with ...
are matched. So for example:
1 Test Case 1
2 [Documentation] This
3 ... Is
4 ... Documentation
5 [Setup] Run Keywords Keyword1
6 ... AND Keyword2
I want to match lines 2-4, but not 1, 5, or 6. I'm not sure if this is possible, and if so, I have no idea where to start.