No highlighting after tab

No highlighting after tab

2
NewbieNewbie
2

    Jul 19, 2006#1

    Hi !

    I've used UltraEdit for sometime, but never used wordfiles that much. But now it would be really helpful if i could get this to work.

    Thing is - I've downloaded the wordfile for ABB S4 Rapid, and the highlighting works fine as long as the words is in the first position of the line or after one or several spaces ... but never after a tab! If i write the same word twice after a tab the second word is highlighted but not the first.

    Is there anyone that has a clue about this ?

    And i read somewhere about the colours of the highlighting appearing even when printing from UltraEdit .... how do I do that ?

    Thanks in advance !
    Regards, Urban

    6,675585
    Grand MasterGrand Master
    6,675585

      Jul 19, 2006#2

      The tab problem can be easily solved. It looks like the syntax highlighting definition for ABB S4 Rapid has not a tab character in the list of delimiter characters. Open your wordfile, scroll down to the language definition line for ABB S4 Rapid. The next line should be something like this (from C++):

      /Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> ,tab.?

      The tab is a place holder for a real horizontal tab (ASCII hex code 09) because the browsers must interpret a tab as a single space when displaying a HTML file.

      Exactly this tab character is missing in your wordfile in the list of delimiters for ABB S4 Rapid.

      Print with syntax highlighting: At File - Print Setup/Configuration - Page Setup enable the option Print Syntax Highlighting. And you must have also a color printer!
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Jul 19, 2006#3

        Ah, now it works ! Thank you very much, Mofi !

        Thanks to your excellent advice and UltraEdits hex edit mode, my programs in UE and also on paper now looks brilliant ! \o/

        Thankful and happy regards from Sweden :)

        /urban