- Posted by
- There are over 50 such tags -- I can probably take it from here -- didn't want to be a nuisance.Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 26, 2011
- That would work if every TAG ended with "TAG" -- but they do not. They are arbitrary strings.Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 26, 2011
- That's too bad. The repeated character sets would only work if the lengths of the prefixes matched, and the giant character set would need to impose length restrictions (min/max), making it almost impossible.Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 26, 2011
- So far so good -- is there any way to get more than 2 options in a UE-style alternation? Or do I simply need to create multiple FindStr blocks instead?Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 26, 2011
- I understand the limitations of regular expressions -- there will definitely be things that I cannot capture. The example I gave earlier -- with a block tag and a bunch of INNERTAGs -- is a really good example. As I alluded to earlier, each one can have name=value pairs on the open tag. [%BLOCKTAG f...Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 22, 2011
- The character set definition [^t^p -ÿ]+ matches in a function string in syntax highlighting wordfiles all tabs, line terminators of any type and all characters in ANSI table from space character to character ÿ which is the last one with hexadecimal value 0xFF in code page 1252. But usually a negati...Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 21, 2011
- Yes, but I do want JSCRIPT_LANG within script blocks (highlighting, keywords, etc.) -- I'm not all that interested in the function list, and like you said, I can easily add them if I want to. I'm trying to figure out why I can't have subgroups and multi-language syntax highlighting at the same time....Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 19, 2011
- Thanks for your detailed responses. Turns out the "size limitation" wasn't the issue -- it was actually the presence of an open script tag (<script). FYI, HTML_LANG in this wordfile. So it looks like something about the open script tag is messing up the subgroups -- that is, it seems to engage the F...Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 19, 2011
- Using v17.10.0.1015, they all work! Very impressive, Mofi -- I've been trying to fight with this for days now. So let me make sure I understand what you've done. The top-level "Tag" TGFindStr is straightforward -- but basically, there's nothing wrong with matching the entire thing. Can I assume that...Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 19, 2011
- Hello, I'm looking to use the function list for syntax that looks like this: [% PROCESS tabrow name='Fred' email='fred@nowhere.com' %] This is from template toolkit. Basically, each tag starts with [%, ends with %], has a name (tabrow, in this case) and a series of attributes (name, email). Whitespa...Posted in Syntax Highlighting
-   Topics
-   Views
- fenway
Aug 18, 2011