45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
|
|
|
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace ICSharpCode.AvalonEdit.Rendering
|
|
{
|
|
/// <summary>
|
|
/// A VisualLinesInvalidException indicates that you accessed the <see cref="TextView.VisualLines"/> property
|
|
/// of the <see cref="TextView"/> while the visual lines were invalid.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class VisualLinesInvalidException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Creates a new VisualLinesInvalidException instance.
|
|
/// </summary>
|
|
public VisualLinesInvalidException() : base()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Creates a new VisualLinesInvalidException instance.
|
|
/// </summary>
|
|
public VisualLinesInvalidException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Creates a new VisualLinesInvalidException instance.
|
|
/// </summary>
|
|
public VisualLinesInvalidException(string message, Exception innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Creates a new VisualLinesInvalidException instance.
|
|
/// </summary>
|
|
protected VisualLinesInvalidException(SerializationInfo info, StreamingContext context) : base(info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|