Share via


Text Markers in the Editor

A text marker is a floating range of text in a buffer that can affect the display and behavior of a region of text. Markers include breakpoints, bookmarks, wavy underlines, and read-only regions. Text markers are basically different from syntax coloring. Syntax coloring is a quick way to communicate the language syntax that is associated with a region of text. Syntax coloring is generally requested when Windows repaints the screen, when speed is important. Syntax coloring only changes the color of text. Text markers additionally change other text properties. Text markers are COM objects that "float" and apply special behavior and coloring.

Because of the performance overhead associated with text markers, do not create many markers for your text buffers. Each marker is updated every time that a user edits the buffer contents.

Note

Users can change the color of each visible marker type but not its shape and style. For more information, see Fonts and Colors, Environment, Options Dialog Box.

In This Section

Reference

  • Core Editor
    Describes the features of the core editor and provides details about how to customize the core editor.

  • Editor Features
    Describes the features available in the Visual Studio core editor.