Custom language markers seem not to work

Custom language markers seem not to work

2
NewbieNewbie
2

    Nov 08, 2006#1

    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

    6,688586
    Grand MasterGrand Master
    6,688586

      Nov 08, 2006#2

      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.
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Nov 09, 2006#3

        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