Udostępnij za pośrednictwem


IVsTextHidingLayerModule Interface

Definition

Implemented by any layer module that hides text.

public interface class IVsTextHidingLayerModule
public interface class IVsTextHidingLayerModule
__interface IVsTextHidingLayerModule
[System.Runtime.InteropServices.Guid("1A705427-815C-4DB6-9B5C-6D45CDDDD0C4")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextHidingLayerModule
[System.Runtime.InteropServices.Guid("1A705427-815C-4DB6-9B5C-6D45CDDDD0C4")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextHidingLayerModule
[<System.Runtime.InteropServices.Guid("1A705427-815C-4DB6-9B5C-6D45CDDDD0C4")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextHidingLayerModule = interface
[<System.Runtime.InteropServices.Guid("1A705427-815C-4DB6-9B5C-6D45CDDDD0C4")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextHidingLayerModule = interface
Public Interface IVsTextHidingLayerModule
Attributes

Remarks

This interface is implemented by any layer module that hides text. In other words, if a given layer can ever return VIEW_E_LOCATION_HIDDEN, it must implement this interface to allow the text to be made visible if some user action (for example, the "Go To Line" command) makes it necessary.

When MakeBaseSpanVisible is called, the layer should make the text visible if it knows how. If it fails, the layout module will be destroyed! Layers that don't hide text must not implement this interface. However, when MakeBaseSpanVisible is called, layers can assume (and are welcome to ASSERT) that the base span has already been made visible by the layer below.

Methods

MakeBaseSpanVisible(TextSpan[])

Makes a text span visible.

Applies to