다음을 통해 공유


IVsTextLayerEvents 인터페이스

레이어의 좌표 매핑 변경 되 고 클라이언트에 알립니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
<InterfaceTypeAttribute()> _
<GuidAttribute("CDE3413A-AD8E-495F-A74F-760547294A6F")> _
Public Interface IVsTextLayerEvents
[InterfaceTypeAttribute()]
[GuidAttribute("CDE3413A-AD8E-495F-A74F-760547294A6F")]
public interface IVsTextLayerEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"CDE3413A-AD8E-495F-A74F-760547294A6F")]
public interface class IVsTextLayerEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("CDE3413A-AD8E-495F-A74F-760547294A6F")>]
type IVsTextLayerEvents =  interface end
public interface IVsTextLayerEvents

IVsTextLayerEvents 형식에서는 다음과 같은 멤버를 노출합니다.

메서드

  이름 설명
Public 메서드 OnMappingChange
Public 메서드 OnMappingChangeComplete

위쪽

설명

창 크기를 조정-자동 줄 바꿈 레이어 매핑을 변경 합니다. 보기 선택 영역을 유지 하기 위해이 이벤트를 동기화 합니다. 일반적으로 클라이언트가 모든 버퍼 좌표를 기준으로 해당 로컬 좌표로 변환 합니다 OnMappingChange 다음 새 로컬 좌표로 변환 OnMappingChangeComplete. IVsTextLayerEvents순전히 좌표 매핑 변경 됩니다. 데이터가 변경 된 경우 레이어를 발사 해야 OnChangeLineText.

참고 항목

참조

Microsoft.VisualStudio.TextManager.Interop 네임스페이스