Udostępnij za pośrednictwem


Metoda Source.OnChangeLineAttributes —

Wywoływane, gdy wiersze jednej lub więcej atrybutów (czcionka, kolor) uległy zmianie.

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 OnChangeLineAttributes ( _
    firstLine As Integer, _
    lastLine As Integer _
)
public virtual void OnChangeLineAttributes(
    int firstLine,
    int lastLine
)

Parametry

  • firstLine
    Typ: System.Int32
    Pierwszy wiersz, który został zmieniony.
  • lastLine
    Typ: System.Int32
    Ostatni wiersz, który został zmieniony.

Implementuje

IVsTextLinesEvents.OnChangeLineAttributes(Int32, Int32)

Uwagi

Metoda ta jest wywoływana, gdy zmieniły atrybuty jednego lub więcej wierszy.Atrybuty wiersz zawiera czcionkę i kolor.

Jest to implementacja IVsTextLinesEvents" OnChangeLineAttributes metody.

Metody podstawowej nic nie robi.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Source Klasa

Przestrzeń nazw Microsoft.VisualStudio.Package