Compartilhar via


Text Editor (Windows CE 5.0)

Send Feedback

The Microsoft® Platform Builder integrated development environment (IDE) includes an integrated text editor to manage, edit, and print source files. Most of the procedures for using the text editor will be familiar if you have used other Microsoft Windows®-based text editors. With the text editor, you can do the following tasks:

  • Automatically fill in code syntax by choosing from a generated list of class members, parameters, or values.

  • Automate the text editor with macros.

  • Create source files for different programming languages, including C, C++, and Microsoft® Visual Basic® Scripting Edition (VBScript).

  • Set and customize syntax coloring for source files.

  • Emulate two popular text editors: Borland's BRIEF and Lugaru's Epsilon.

  • Perform advanced find and replace operations in a single file or multiple files, including using regular expressions and incremental searching.

    A regular expression is a search string that uses special characters to match a text pattern in a file. For example, an asterisk (*) means zero or more occurrences of the preceding character; thus, abb*c matches ac, abc, abbc, abbbc, and so forth.

  • Use the virtual spaces option for more advanced cursor positioning.

    Virtual spaces are spaces that are inserted between the end of the line and the insertion point before new characters are added to the line.

  • Navigate through sections of code by matching delimiters that group code, matching conditional statements, or using the Go To dialog box.

  • Use bookmarks to mark frequently accessed lines of code in a source file.

    Bookmarks mark frequently accessed lines in a source file and can be either named or unnamed.

    Named bookmarks are saved between editing sessions.

    After you create a named bookmark, you can jump to that location whether or not the file is open.

    Named bookmarks store the line number and the column number of the location of the cursor when the bookmark was created. This location is adjusted when you edit the file. Even if you delete the characters around the bookmark, the bookmark remains in the correct location.

    Unnamed bookmarks are temporary. They are removed when the file containing them is closed or reloaded. Unnamed bookmarks store only the current line, not the column offset of the cursor. When a line containing an unnamed bookmark is deleted, the bookmark is also removed.

  • Customize the text editor with preferences for tabs, indentation, the selection margin, and saving files.

  • Modify the font style, size, and color.

  • Select lines, multiple lines, or columns.

  • Use drag-and-drop editing within one text editor window, between text editor windows, and between the text editor and the debugger.

  • Manage the source window.

While using the text editor, you can right-click to display a shortcut menu of frequently used commands. The commands available depend on what the pointer is pointing to.

See Also

IntelliSense Options | Syntax Coloring | File Navigation | File Management | Text Editor Customization

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.