Hmm ..
On Feb 12, 2007, at 1:29 AM, Steve Lianoglou wrote:
patterns = ( { include = '#constant_placeholder'; }, { include = '#escaped_char'; }, ); },
Do I just fiddle with the first name = string.quoted.double.block.python to add test.reStructuredText to it (what's the right way to do that)?
Just add after or before those include lines another include line like:
{ include = 'text.restructuredtext';},
I changed that to look like: patterns = ( { include = '#constant_placeholder'; }, { include = '#escaped_char'; }, { include = 'text.restructuredtext'; }, );
When I hit the Text button (to activate it), it blows hoses the Python source ... it's all colored as if it were one long string.
Lines with text, however, (not just whitespace) now all get an addition scope: meta.paragraph.restructuredtext
which I guess is why its coloring everything like a string, but I wonder why it doesn't stop doing that outside of the double quoted blocks """ """, where I do the include = 'text.restructuredtext'?
-steve