IVsTextImageEvents.OnTextChange(TextAddress, TextAddress, TextAddress) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Уведомляет клиента об изменении текстового изображения.
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)
Параметры
- taStart
- TextAddress
[in] Начальный адрес изображения текста.
- taEnd
- TextAddress
[in] Конечный адрес изображения текста.
- taNewEnd
- TextAddress
[in] Новый конечный адрес изображения текста.
Комментарии
Подпись COM
Из текстмгр. IDL:
HRESULT IVsTextImageEvents::OnTextChange(
[in] TextAddress taStart,
[in] TextAddress taEnd,
[in] TextAddress taNewEnd
);
Среда передает указатель на этот интерфейс через вызов AdviseTextImageEvents . Используйте этот метод, чтобы уведомить среду о любых изменениях в текстовом изображении.