다음을 통해 공유


IVsTextImageEvents.OnTextChange(TextAddress, TextAddress, TextAddress) Method

Definition

Notifies client of a text image change.

public:
 void OnTextChange(Microsoft::VisualStudio::TextManager::Interop::TextAddress taStart, Microsoft::VisualStudio::TextManager::Interop::TextAddress taEnd, Microsoft::VisualStudio::TextManager::Interop::TextAddress taNewEnd);
public:
 void OnTextChange(Microsoft::VisualStudio::TextManager::Interop::TextAddress taStart, Microsoft::VisualStudio::TextManager::Interop::TextAddress taEnd, Microsoft::VisualStudio::TextManager::Interop::TextAddress taNewEnd);
void OnTextChange(Microsoft::VisualStudio::TextManager::Interop::TextAddress taStart, Microsoft::VisualStudio::TextManager::Interop::TextAddress taEnd, Microsoft::VisualStudio::TextManager::Interop::TextAddress taNewEnd);
public void OnTextChange (Microsoft.VisualStudio.TextManager.Interop.TextAddress taStart, Microsoft.VisualStudio.TextManager.Interop.TextAddress taEnd, Microsoft.VisualStudio.TextManager.Interop.TextAddress taNewEnd);
abstract member OnTextChange : Microsoft.VisualStudio.TextManager.Interop.TextAddress * Microsoft.VisualStudio.TextManager.Interop.TextAddress * Microsoft.VisualStudio.TextManager.Interop.TextAddress -> unit
Public Sub OnTextChange (taStart As TextAddress, taEnd As TextAddress, taNewEnd As TextAddress)

Parameters

taStart
TextAddress

[in] Starting address of text image.

taEnd
TextAddress

[in] Ending address of text image.

taNewEnd
TextAddress

[in] New ending address of text image.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextImageEvents::OnTextChange(  
   [in] TextAddress taStart,  
   [in] TextAddress taEnd,  
   [in] TextAddress taNewEnd  
);  

The environment passes a pointer to this interface through a call to AdviseTextImageEvents. Use this method to notify the environment of any changes to your text image.

Applies to