#region Using Directives using System; using System.Collections.Generic; using System.Text; #endregion Using Directives namespace ScintillaNET { /// /// Provides data for the event. /// public class AnnotationChangedEventArgs : EventArgs { #region Fields private int _lineIndex; private int _lineCountDelta; #endregion Fields #region Properties /// /// Gets the number of lines added to or removed from the changed annotation. /// /// /// An representing the number of lines added to or removed from the annotation. /// Postive values indicate lines have been added; negative values indicate lines have been removed. /// public int LineCountDelta { get { return _lineCountDelta; } } /// /// Gets the index of the document line containing the changed annotation. /// /// The zero-based index of the document line containing the changed annotation. public int LineIndex { get { return _lineIndex; } } #endregion Properties #region Consructors /// /// Initializes a new instance of the class. /// /// The document line index of the annotation that changed. /// The number of lines added to or removed from the annotation that changed. public AnnotationChangedEventArgs(int lineIndex, int lineCountDelta) { _lineIndex = lineIndex; } #endregion Constructors } }