Partager via


IVsTextHidingLayerModule Interface

Implemented by any layer module that hides text.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
<InterfaceTypeAttribute()> _
<GuidAttribute("1A705427-815C-4DB6-9B5C-6D45CDDDD0C4")> _
Public Interface IVsTextHidingLayerModule
[InterfaceTypeAttribute()]
[GuidAttribute("1A705427-815C-4DB6-9B5C-6D45CDDDD0C4")]
public interface IVsTextHidingLayerModule
[InterfaceTypeAttribute()]
[GuidAttribute(L"1A705427-815C-4DB6-9B5C-6D45CDDDD0C4")]
public interface class IVsTextHidingLayerModule
[<InterfaceTypeAttribute()>]
[<GuidAttribute("1A705427-815C-4DB6-9B5C-6D45CDDDD0C4")>]
type IVsTextHidingLayerModule =  interface end
public interface IVsTextHidingLayerModule

The IVsTextHidingLayerModule type exposes the following members.

Methods

  Name Description
Public method MakeBaseSpanVisible Makes a text span visible.

Top

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace