Core Editor

The Visual Studio core editor is a set of several components that let you modify and query textual information. Because you can customize the existing core editor, you do not have to design and implement a full-fledged editor or edit control of your own in your VSPackage implementation. The following are the primary components of the core editor:

  • Text buffer

  • Text view

  • Code window

  • Text marker

  • Text manager

  • Language service

In This Section

  • Figures Sample
    Demonstrates how the Figures sample collection creates a complete product for the Visual Studio integrated development environment (IDE) and provides links to projects that must be built in the FigPkg sample.

  • Walkthrough: Invoking the Core Editor
    Provides step-by-step instructions about how to start the core editor from managed code.

  • Drop-Down Bar
    Discusses how the drop-down bar is used in the code window and describes the interfaces that are used when you implement a drop-down bar.

  • Text Markers in the Editor
    Explains the concept of text markers and how they are used in the core editor, and lists the interfaces that are used to access and manage text markers.

  • How to: Add Standard Text Markers
    Provides step-by-step instructions about how to create a text marker and how to add a custom command to a shortcut menu.

  • How to: Create Custom Text Markers
    Provides step-by-step instructions about how to create a custom text marker and how to provide the marker type as a service.

  • Editors
    Introduces the different types of editors Visual Studio provides and explains how you can create custom editors.