#region Using Directives
using System;
using System.Windows.Forms;
#endregion Using Directives
namespace ScintillaNET
{
///
/// Provides data for native Scintilla Events
///
///
/// All events fired from the INativeScintilla Interface uses
/// NativeScintillaEventArgs. Msg is a copy
/// of the Notification Message sent to Scintilla's Parent WndProc
/// and SCNotification is the SCNotification Struct pointed to by
/// Msg's lParam.
///
[Obsolete("This type will not be public in future versions.")]
public class NativeScintillaEventArgs : EventArgs
{
#region Fields
private Message _msg;
private SCNotification _notification;
#endregion Fields
#region Properties
///
/// Notification Message sent from the native Scintilla
///
public Message Msg
{
get
{
return _msg;
}
}
///
/// SCNotification structure sent from Scintilla that contains the event data
///
public SCNotification SCNotification
{
get
{
return _notification;
}
}
#endregion Properties
#region Constructors
///
/// Initializes a new instance of the NativeScintillaEventArgs class.
///
/// Notification Message sent from the native Scintilla
/// SCNotification structure sent from Scintilla that contains the event data
public NativeScintillaEventArgs(Message msg, SCNotification notification)
{
_msg = msg;
_notification = notification;
}
#endregion Constructors
}
}