次の方法で共有


Setting Syntax Coloring for User-Defined Keywords (Windows CE 5.0)

Send Feedback

You can set syntax coloring for user-defined keywords.

To set syntax coloring for user-defined keywords

  1. Use the text editor or the Microsoft® Notepad accessory application to create a text-only file named Usertype.dat in the same directory as Cepb.exe.

  2. Add your keywords to Usertype.dat, one keyword per line.

    The Usertype.dat file is read during initialization. It cannot be renamed, nor can it be reloaded during an editing session. Syntax coloring checks the Usertype.dat file last. Thus, all previously defined color settings take precedence over the user-defined keywords.

  3. Save the file as a text-only file, exit, and then restart Platform Builder.

  4. Choose Options from the Tools menu.

  5. Choose the Format tab.

  6. Select User Defined Keywords in the Colors list.

  7. Set the font, font size, foreground color, and background color to your preferences.

  8. Choose OK.

See Also

Syntax Coloring | Setting Syntax Coloring for a File Whose Extension Is not Mapped to a Programming Language

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.