IVsTextStreamEvents.OnChangeStreamText(Int32, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies the clients when the content of a text stream in the buffer has changed.
public:
void OnChangeStreamText(int iPos, int iOldLen, int iNewLen, int fLast);
public:
void OnChangeStreamText(int iPos, int iOldLen, int iNewLen, int fLast);
void OnChangeStreamText(int iPos, int iOldLen, int iNewLen, int fLast);
public void OnChangeStreamText (int iPos, int iOldLen, int iNewLen, int fLast);
abstract member OnChangeStreamText : int * int * int * int -> unit
Public Sub OnChangeStreamText (iPos As Integer, iOldLen As Integer, iNewLen As Integer, fLast As Integer)
Parameters
- iPos
- Int32
[in] Starting position of the affected text.
- iOldLen
- Int32
[in] Previous length of text.
- iNewLen
- Int32
[in] New length of text.
- fLast
- Int32
[in] Obsolete; ignore.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextStreamEvents::OnChangeStreamText(
[in] long iPos,
[in] long iOldLen,
[in] long iNewLen,
[in] BOOL fLast
);
Use this method to determine the stream of affected text before and after a change.