From fc8a05358a92cc3c77c5f1e30d536807ef0614fd Mon Sep 17 00:00:00 2001 From: Victoria Plitt Date: Mon, 8 Apr 2019 13:49:55 +0300 Subject: were added scripting projects --- .../VisualLineConstructionStartEventArgs.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Rendering/VisualLineConstructionStartEventArgs.cs (limited to 'Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Rendering/VisualLineConstructionStartEventArgs.cs') diff --git a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Rendering/VisualLineConstructionStartEventArgs.cs b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Rendering/VisualLineConstructionStartEventArgs.cs new file mode 100644 index 000000000..438e516bd --- /dev/null +++ b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Rendering/VisualLineConstructionStartEventArgs.cs @@ -0,0 +1,29 @@ +// 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 Tango.Scripting.Editors.Document; + +namespace Tango.Scripting.Editors.Rendering +{ + /// + /// EventArgs for the event. + /// + public class VisualLineConstructionStartEventArgs : EventArgs + { + /// + /// Gets/Sets the first line that is visible in the TextView. + /// + public DocumentLine FirstLineInView { get; private set; } + + /// + /// Creates a new VisualLineConstructionStartEventArgs instance. + /// + public VisualLineConstructionStartEventArgs(DocumentLine firstLineInView) + { + if (firstLineInView == null) + throw new ArgumentNullException("firstLineInView"); + this.FirstLineInView = firstLineInView; + } + } +} -- cgit v1.3.1