//
//  Copyright (c) Microsoft Corporation. All rights reserved.
//  Licensed under the MIT License. See License.txt in the project root for license information.
//
// This file contain internal APIs that are subject to change without notice.
// Use at your own risk.
//
namespace Microsoft.VisualStudio.Text.Editor
{
    /// <summary>
    /// Defines the ways to display a point or range.
    /// </summary>
    public enum HowToShow
    {
        /// <summary>
        /// Show the point or start of the range as it is on screen, or scroll the
        /// view the minimal amount in order to bring the point or range into view.
        /// </summary>
        AsIs,

        /// <summary>
        /// Show the point or start of the range centered on the screen.
        /// </summary>
        Centered,

        /// <summary>
        /// Show the point or start of the range on the first line of the view.
        /// </summary>
        OnFirstLineOfView,
    }
}
