Partager via


REPLACE_TEXT_FLAGS Enumeration

Specifies options for modifying text during a replace operation.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration REPLACE_TEXT_FLAGS
[FlagsAttribute]
public enum REPLACE_TEXT_FLAGS
[FlagsAttribute]
public enum class REPLACE_TEXT_FLAGS
[<FlagsAttribute>]
type REPLACE_TEXT_FLAGS
public enum REPLACE_TEXT_FLAGS

Members

Member name Description
rtfClientSuppressFormatting Stop OnReplace listeners from formatting code.
rtfDefault New line normalization.
rtfDoNotNormalizeNewlines Do not normalize new lines.
rtfInterimText This flag communicates to ReplaceLinesEx that the inserted text is interim text from the Input Method Editor (IME). This affects undo item merging. Subsequent text overwrites the interim text and the undo items need to be merged in a way that reflects this.
rtfKeepMarkers Retain existing markers.
rtfNormalizeTabsAndSpaces (Not yet supported) Normalize tabs and spaces.
rtfSyntacticReformat (Not yet supported) Reformat syntax.

Remarks

An IME helps programs enter thousands of different characters in Asian languages using the standard 101-key keyboard. An IME consists of an engine that converts keystrokes into phonetic and ideographic characters and a dictionary of commonly used ideographic words. The IME engine attempts to identify which character or characters the keystrokes should be converted into.

COM Signature

From textmgr.idl:

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace