The following feature request is the outcome of bug:
"[ 1094078 ] Repeated REGEXP per line"
If I understood right than the regexp-feature for syntax-highlighting has the following properties:
1. don't expand over more than two line
2. don't allow overlapping sequences (end sequence is ignored for the next matching expression)
I would like to have the possibility (optional) to:
- span over more than one line and (option1)
- allow for overlapping sequences in the text (option2)
Use case: I tried to implement syntax highlighting for SAS-statistics package. With the present feature set of Jedit I couldn't implement the underlying rules.
Here is a short description of the syntax highlighting for SAS:
3*4+4; *comment1; 3*4*4; *comment2; *comment3;*comment4;
3 * 4 + 4 ; *comment1; 3 * 4 + 4 ; *comment2;
*comment4; this is * no comment;
Now I try to describe expected behaviour with my own words:
If there is only space (only space and/or newline) between the last ";"
the "*" sign, then the "*" sign starts a multi-line comment. The end of
the comment is always the next ";" sign.
From the comment on bug 1094078 I concluded that at the moment it is not possible to define corresponding rules in Jedit.
Log in to post a comment.