mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 09:59:48 -05:00
39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
namespace Microsoft.PowerShell.EditorServices
|
|
{
|
|
/// <summary>
|
|
/// Contains details relating to a content change in an open file.
|
|
/// </summary>
|
|
public class FileChange
|
|
{
|
|
/// <summary>
|
|
/// The string which is to be inserted in the file.
|
|
/// </summary>
|
|
public string InsertString { get; set; }
|
|
|
|
/// <summary>
|
|
/// The 1-based line number where the change starts.
|
|
/// </summary>
|
|
public int Line { get; set; }
|
|
|
|
/// <summary>
|
|
/// The 1-based column offset where the change starts.
|
|
/// </summary>
|
|
public int Offset { get; set; }
|
|
|
|
/// <summary>
|
|
/// The 1-based line number where the change ends.
|
|
/// </summary>
|
|
public int EndLine { get; set; }
|
|
|
|
/// <summary>
|
|
/// The 1-based column offset where the change ends.
|
|
/// </summary>
|
|
public int EndOffset { get; set; }
|
|
}
|
|
}
|