Evento ITextView.LayoutChanged
Ocorre quando o editor de texto realiza um layout de linha de texto.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (em Microsoft.VisualStudio.Text.UI.dll)
Sintaxe
'Declaração
Event LayoutChanged As EventHandler(Of TextViewLayoutChangedEventArgs)
event EventHandler<TextViewLayoutChangedEventArgs> LayoutChanged
event EventHandler<TextViewLayoutChangedEventArgs^>^ LayoutChanged {
void add (EventHandler<TextViewLayoutChangedEventArgs^>^ value);
void remove (EventHandler<TextViewLayoutChangedEventArgs^>^ value);
}
abstract LayoutChanged : IEvent<EventHandler<TextViewLayoutChangedEventArgs>,
TextViewLayoutChangedEventArgs>
JScript não oferece suporte a eventos.
Comentários
Este evento é gerado sempre que o texto processado contido pelo ITextView as alterações. Ele é gerado em resposta a alterações no buffer de texto subjacente, alterações de classificação e simples de rolagem.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.