IVsTextBufferEx::SetTrackChangesSuppression Method (Int32)

 

Suppresses change marking in the text buffer.

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

int SetTrackChangesSuppression(
	int fSupress
)

Parameters

fSupress
Type: System::Int32

[out] Specify non-zero (TRUE) to suppress change tracking; otherwise specify zero (FALSE)

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Call this method to suppress change marking in the text buffer.

When this method is set to TRUE, further change marking is suppressed (existing change markers, however, are not deleted.)

Use this interface to, for example, change buffer text without adding to the user's change marks.

Call this method with fSupress set to FALSE to allow change marking to resume.

Return to top
Show: