// Copyright Epic Games, Inc. All Rights Reserved. using System; using System.Collections.Generic; using System.Text; namespace UnrealControls { /// /// This class represents event arguments for when a full line of text has been added to a document. /// public class OutputWindowDocumentLineAddedEventArgs : EventArgs { OutputWindowDocument.ReadOnlyDocumentLine mLine; int mLineIndex; /// /// Gets the text for the line. /// public OutputWindowDocument.ReadOnlyDocumentLine Line { get { return mLine; } } /// /// Gets the line index within the document. /// public int Index { get { return mLineIndex; } } /// /// Constructor. /// /// The index of the line within its document. /// The line of text. public OutputWindowDocumentLineAddedEventArgs(int LineIndex, OutputWindowDocument.ReadOnlyDocumentLine Txt) { mLine = Txt; mLineIndex = LineIndex; } } }