Syntax Highlighting (Cisco ACL's)

Syntax Highlighting (Cisco ACL's)

1
NewbieNewbie
1

    Aug 27, 2005#1

    I'm new to ultraedit, and I'm trying to modify the wordlist to fit my needs...

    I am trying to enforce some highlighting, but I have noticed by default some numbers are automatically highlighted red. This definitely conflicts with what I am trying to do.

    For example, take the text below and put it in ultraedit and choose one of the the generic "Language ##" choices from the list. You will see what I mean.

    ! Access to a India web server for CMyers 8-24-05
    access-list 113 permit tcp any host 172.24.32.95 eq 80
    ! Proxy to access MRT web server 8-26-05
    access-list 113 permit tcp host 172.30.22.25 host 172.29.1.50 established
    ! Albany hosts (10)
    access-list 113 permit ip any host 64.132.220.129

    One other thing to note, the lines preceded by a "!" are considered a comment. How do I get ultraedit to treat the whole line after that as a comment?


    TIA!!!!!!!!!!!!!

    6,675585
    Grand MasterGrand Master
    6,675585

      Re: Syntax Highlighting (Cisco ACL's)

      Aug 27, 2005#2

      Yes, words starting with a number are automatically highlighted with default color group Numbers. If you do not want highlighting of numbers, open Advanced - Configuration - Syntax Highlighting, select your language, select the color group Numbers and set the colors and styles to the same values as normal text. It's not possible to really deactive the highlighting of numbers.

      Line Comment = ! at the language definition line will specify ! as line comment character. Use additionally Line Comment Valid Columns = [1] if ! should be only interpreted as line comment if specified at beginning of a line. Don't forget to add ! to the /Delimiters= characters.

      For more details about syntax highlighting see help of UltraEdit about Syntax Highlighting.
      Best regards from an UC/UE/UES for Windows user from Austria