Udostępnij za pośrednictwem


IVsTextStreamEvents.OnChangeStreamAttributes(Int32, Int32) Method

Definition

Notifies the client that the text stream attributes have changed.

public:
 void OnChangeStreamAttributes(int iPos, int iLength);
public:
 void OnChangeStreamAttributes(int iPos, int iLength);
void OnChangeStreamAttributes(int iPos, int iLength);
public void OnChangeStreamAttributes (int iPos, int iLength);
abstract member OnChangeStreamAttributes : int * int -> unit
Public Sub OnChangeStreamAttributes (iPos As Integer, iLength As Integer)

Parameters

iPos
Int32

[in] Starting position of the affected text.

iLength
Int32

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

Remarks

COM Signature

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.

Applies to