IVsTextStreamEvents::OnChangeStreamAttributes Method (Int32, Int32)

 

Notifies the client that the text stream attributes have changed.

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

void OnChangeStreamAttributes(
	int iPos,
	int iLength
)

Parameters

iPos
Type: System::Int32

[in] Starting position of the affected text.

iLength
Type: System::Int32

[in] Length of the text affected in the text stream.

From textmgr.idl:

HRESULT IVsTextStreamEvents::OnChangeStreamAttributes(
   [in] long iPos,
   [in] long iLength
);

This event is called in any instance where changes in text result in changes in text stream attributes, such as syntax and marker coloring. Text changes can occur both programmatically and through user action.

Return to top
Show: