Udostępnij za pośrednictwem


REPLACE_TEXT_FLAGS Enum

Definition

Specifies options for modifying text during a replace operation.

This enumeration supports a bitwise combination of its member values.

public enum class REPLACE_TEXT_FLAGS
public enum class REPLACE_TEXT_FLAGS
enum REPLACE_TEXT_FLAGS
[System.Flags]
public enum REPLACE_TEXT_FLAGS
[<System.Flags>]
type REPLACE_TEXT_FLAGS = 
Public Enum REPLACE_TEXT_FLAGS
Inheritance
REPLACE_TEXT_FLAGS
Attributes

Fields

Name Value Description
rtfDefault 0

New line normalization.

rtfKeepMarkers 1

Retain existing markers.

rtfDoNotNormalizeNewlines 2

Do not normalize new lines.

rtfNormalizeTabsAndSpaces 4

(Not yet supported) Normalize tabs and spaces.

rtfSyntacticReformat 8

(Not yet supported) Reformat syntax.

rtfClientSuppressFormatting 16

Stop OnReplace(ChangeInput[]) listeners from formatting code.

rtfInterimText 32

This flag communicates to ReplaceLinesEx(UInt32, Int32, Int32, Int32, Int32, IntPtr, Int32, TextSpan[]) 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.

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:

Applies to