Tapatalk

Yellow highlight ASP.NET directives?

Yellow highlight ASP.NET directives?

1
NewbieNewbie
1

    Aug 06, 2004#1

    Syntax highlighting works great, but is there a way to highlight in yellow anything between <%@ %> tags in a way similar to Visual Studio?

    I'd like those lines to look like the currently selected line in Ultraedit.

    Thanks

    6,685587
    Grand MasterGrand Master
    6,685587

      Aug 06, 2004#2

      Sure!

      Add Block Comment On Alt = <% Block Comment Off Alt = %> to the language definition line (/Lxx) of your syntax highlighting wordfile, if it not already exists.

      Then goto Advanced - Configuration - Syntax Highlighting, select the correct language, select the color group Alternate Block Comments, select yellow for the background color and store this settings.
      Best regards from an UC/UE/UES for Windows user from Austria

      1
      NewbieNewbie
      1

        Dec 21, 2004#3

        But then you loose the code syntax colors? Can you have both?
        thx!

        3
        NewbieNewbie
        3

          Background highlighting

          Feb 27, 2006#4

          Is it possible to have background highlighting between <% and %> for ASP? If the feature is there, how do I make it work?

          Crimson editor has this feature where they have a greyish tint between <% and %>

          I ran a search for "background highlighting" but did not find a thread with an answer.

          Thanks in advance.

          6,685587
          Grand MasterGrand Master
          6,685587

            Re: Background highlighting

            Feb 27, 2006#5

            Yes! You have to set the background color for language "VBScript Active Server Pages" at Advanced - Configuration - Editor Display - Syntax Highlighting.
            Best regards from an UC/UE/UES for Windows user from Austria