<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Thanks for the help, Allan. I tried adding in the include where you mentioned, but it doesn't work. The EE tags are highlighted and folded, but not the HTML.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Also, EE tags can be used in more than HTML. They can be used in XML, PHP, JavaScript, CSS and others. Will that mean I need to add all those other languages too, or will text.html.basic work for all of those?<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I've also renamed the scope to "text.html.ee", like you suggested.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV>Chris<DIV><BR><DIV><DIV>On Aug 25, 2005, at 2:06 AM, Allan Odgaard wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono">Since this is embedded in HTML (as I understand), you probably want to name the scope something like “text.html.ee” -- that way, all snippets/commands etc. which have their scope set to “text.html” will also work when in EE files.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Andale Mono; min-height: 14.0px"><BR></P> <BR><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">    </SPAN>fileTypes = ( "html", "htm", "php" );</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">    </SPAN>foldingStartMarker = "\\{(exp:([a-zA-Z0-9:]+)|if)\\b.*?\\}";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">    </SPAN>foldingStopMarker = "\\{/(exp:([a-zA-Z0-9:]+)|if)\\}";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">    </SPAN>patterns = (</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">        </SPAN>{ <SPAN class="Apple-converted-space">  </SPAN>name = "constant.tag.ee";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">            </SPAN>begin = "\\{/?([-a-zA-Z0-9_:]+)";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">            </SPAN>end = "\\}";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">            </SPAN>captures = { 1 = { name = "entity.name.tag.html"; }; };</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">            </SPAN>patterns = (</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">                </SPAN>[...]</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">                </SPAN>{ <SPAN class="Apple-converted-space">  </SPAN>name = "string.single-quoted.ee";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">                    </SPAN>begin = "'";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">                    </SPAN>end = "'";</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">                </SPAN>},</FONT></P> <BR></BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Andale Mono; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono">Here you add:</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Andale Mono; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">                </SPAN>{ <SPAN class="Apple-converted-space">  </SPAN>include = "text.html.basic"; },</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Andale Mono; min-height: 14.0px"><BR></P> <BR><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">            </SPAN>);</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">        </SPAN>}</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono"><SPAN class="Apple-converted-space">    </SPAN>);</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Andale Mono" size="3" style="font: 12.0px Andale Mono">}</FONT></P></BLOCKQUOTE></BLOCKQUOTE></DIV></DIV></DIV></DIV></BODY></HTML>