Mode System: Allow regexes in indent*Brackets property
Submitted by Tuesday, 27 January, 2004 - 20:08
on
Some languages don't use the typical squiglly brackets "{" to demarcate chunks of code. Nor do they use any brackets at all. With these languages it would be nice if the indentOpenBrackets and indentCloseBrackets properties would accept regexes as values just like the indentNextLine property does.
Now I could be mistaken and you *can* use regexes with the bracket properties. The fact that I couldn't get it to work doesn't mean much, but I don't think so. I see a few modes where people have tried and then commented out those tags. So, please consider this feature for a future jEdit release.
Now I could be mistaken and you *can* use regexes with the bracket properties. The fact that I couldn't get it to work doesn't mean much, but I don't think so. I see a few modes where people have tried and then commented out those tags. So, please consider this feature for a future jEdit release.