Interface IViewZoneChangeAccessor

An accessor that allows for zones to be added or removed.

interface IViewZoneChangeAccessor {
    addZone(zone): string;
    layoutZone(id): void;
    removeZone(id): void;
}

Methods

  • Create a new view zone.

    Parameters

    Returns string

    A unique identifier to the view zone.

  • Change a zone's position. The editor will rescan the afterLineNumber and afterColumn properties of a view zone.

    Parameters

    • id: string

    Returns void

  • Remove a zone

    Parameters

    • id: string

      A unique identifier to the view zone, as returned by the addZone call.

    Returns void