1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using ICSharpCode.AvalonEdit.Document;
7
namespace ICSharpCode.AvalonEdit.Rendering
10
/// EventArgs for the <see cref="TextView.VisualLineConstructionStarting"/> event.
12
public class VisualLineConstructionStartEventArgs : EventArgs
15
/// Gets/Sets the first line that is visible in the TextView.
17
public DocumentLine FirstLineInView { get; private set; }
20
/// Creates a new VisualLineConstructionStartEventArgs instance.
22
public VisualLineConstructionStartEventArgs(DocumentLine firstLineInView)
24
if (firstLineInView == null)
25
throw new ArgumentNullException("firstLineInView");
26
this.FirstLineInView = firstLineInView;