#region Using Directives using System; #endregion Using Directives namespace ScintillaNET { /// /// Provides data for the StyleChanged event /// /// /// StyleChangedEventHandler is used for the StyleChanged Event which is also used as /// a more specific abstraction around the SCN_MODIFIED notification message. /// public class StyleChangedEventArgs : ModifiedEventArgs { #region Fields private int _length; private int _position; #endregion Fields #region Properties /// /// Returns how many characters have changed /// public int Length { get { return _length; } } /// /// Returns the starting document position where the style has been changed /// public int Position { get { return _position; } } #endregion Properties #region Constructors internal StyleChangedEventArgs(int position, int length, int modificationType) : base(modificationType) { _position = position; _length = length; } #endregion Constructors } }