Udostępnij za pośrednictwem


Metoda Source.OnChangeLineText —

Wywołana po zmianie tekstu w wierszu.

Przestrzeń nazw:  Microsoft.VisualStudio.Package
Zestawy:   Microsoft.VisualStudio.Package.LanguageService.10.0 (w Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (w Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (w Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (w Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Składnia

'Deklaracja
Public Overridable Sub OnChangeLineText ( _
    lineChange As TextLineChange(), _
    last As Integer _
)
public virtual void OnChangeLineText(
    TextLineChange[] lineChange,
    int last
)

Parametry

  • last
    Typ: System.Int32
    Niezerowa, jeśli ostatni wiersz źródła jest uwzględniony w zmiany; w przeciwnym razie jest zero.

Implementuje

IVsTextLinesEvents.OnChangeLineText(array<TextLineChange[], Int32)

Uwagi

Metoda ta jest wywoływana, gdy jeden lub więcej wierszy są zmieniane w jednej operacji.

Ta metoda jest implementacją IVsTextLinesEvents" OnChangeLineText metody.

Metody podstawowej dodaje ogniwa wiersza zmienionych do listy dirty zakresy.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Source Klasa

Przestrzeń nazw Microsoft.VisualStudio.Package