C++ brackets highlighting

C++ brackets highlighting

2
NewbieNewbie
2

    Jan 03, 2007#1

    Hi, all:

    I want to use different color from normal text for all brackets in C++, including {} [] (). How to achieve it?

    Thanks

    6,682583
    Grand MasterGrand Master
    6,682583

      Jan 03, 2007#2

      Open Advanced - Configuration - Editor Display - Syntax Highlighting and click on the button Open left the wordfile specification to open the wordfile you currently use and close the configuration dialog with Cancel.

      If you use the standard wordfile.txt in the UltraEdit/UEStudio program directory the first language definition /L1 is for "C/C++". Scroll down until you find a blank line following a line which starts with /L2"Visual Basic".

      At the blank line insert following block:

      /C5"Brackets"
      (
      )
      [
      ]
      {
      }


      If you use the standard wordfile, best save the file now with a new name to avoid problems in future with updates. While running the setup, you will be always asked to backup existing wordfile.txt as wordfile.old before existing wordfile.txt is replaced by the new one OR the new wordfile.txt is installed as wordfile.new and existing wordfile.txt is not changed. If you use a wordfile with a different name (or location), you will never have problems during an update because your personal wordfile is never modified independent which update method you select for the standard wordfile during installation.

      Next open again the syntax highlighting configuration dialog and specify the new wordfile if you have saved it with a different name or location. Then select Language "C/C++" and Color Group "Brackets" and set the color you want for the bracket characters.
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Jan 03, 2007#3

        Thank you so much. It works