Custom language markers seem not to work

Syntax highlighting, code folding, brace matching, code indenting, and function list

Custom language markers seem not to work

Postby pardeike » Wed Nov 08, 2006 9:41 am

Hi,

I'm working in a custom PHP dialect that uses <php>, </php>, <htm> and </htm> to drop in and out of php from within html. I.e.:

Code: Select all
<html>
  <php>
    $foo=1;
    <htm>
      <b>some html</b>
      <php>$test=3;</php>
    </htm>
    $bar=2;
  </php>
  <i>more html</i>
</html>


Is this possible with UE? All I want is that PHP code starts either with <php> or with </htm> and that HTML either starts with </php> or with <htm>.

Andreas Pardeike
User avatar
pardeike
Newbie
 
Posts: 2
Joined: Wed Nov 08, 2006 12:00 am

Re: Custom language markers seem not to work

Postby Mofi » Wed Nov 08, 2006 1:03 pm

The strings to change the syntax highlighting language are built-in into UltraEdit and cannot be defined or customized. UltraEdit uses the defined strings for PHP, CSS, JavaScript, ASP, ...

Only the indent/unindent and the code folding strings can be customized.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4062
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Custom language markers seem not to work

Postby pardeike » Wed Nov 08, 2006 7:04 pm

So why the fuzz with all the config files if part of the configuration is hard coded?

UltraEdit still has to catch up quite a lot with Mac applications like BBEdit or TextMate...

Andreas
User avatar
pardeike
Newbie
 
Posts: 2
Joined: Wed Nov 08, 2006 12:00 am


Return to Syntax Highlighting