Posted 20 years ago
by SamWare
i'm having trouble getting the syntax editor to recognize '?' and '$' for start/end tags.
i've tried every patternvalue i can think of to get '?' to work. ("<?", "<\?", "<\063") i've also encountered the same trouble with '$'.
anybody have any ideas what i'm doing wrong? i've included my "Nested PHP" code into this post. if i change the start & end tags to "<<<" & ">>>", everything works fine.. but that's obviously not acceptable.
NOTE: the forum is turning my HTML code for "<" and ">" into the actual characters.
<!-- Nested PHP Code Block -->
<State Key="PHP_Directive_Code_State" Filename="PHP.xml" ChildLanguageBackColor="WhiteSmoke">
<!-- Scopes -->
<Scopes>
<Scope>
<ExplicitPatternGroup Type="StartScope" Token="PHP_Start_Token" Style="PHP_Style" PatternValue="<\063" />
<ExplicitPatternGroup Type="EndScope" Token="PHP_End_Token" Style="PHP_Style" PatternValue="\063>" />
</Scope>
</Scopes>
</State>
[ 09-27-2004: Message edited by: SamWare ]
i've tried every patternvalue i can think of to get '?' to work. ("<?", "<\?", "<\063") i've also encountered the same trouble with '$'.
anybody have any ideas what i'm doing wrong? i've included my "Nested PHP" code into this post. if i change the start & end tags to "<<<" & ">>>", everything works fine.. but that's obviously not acceptable.
NOTE: the forum is turning my HTML code for "<" and ">" into the actual characters.
<!-- Nested PHP Code Block -->
<State Key="PHP_Directive_Code_State" Filename="PHP.xml" ChildLanguageBackColor="WhiteSmoke">
<!-- Scopes -->
<Scopes>
<Scope>
<ExplicitPatternGroup Type="StartScope" Token="PHP_Start_Token" Style="PHP_Style" PatternValue="<\063" />
<ExplicitPatternGroup Type="EndScope" Token="PHP_End_Token" Style="PHP_Style" PatternValue="\063>" />
</Scope>
</Scopes>
</State>
[ 09-27-2004: Message edited by: SamWare ]